python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1494394 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 1007>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1494394/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.52468204498291 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Mon May 12 09:17:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1747034247_1494394_1357606194_728bdb6d187bd5558088f113a8dd03fd.jpg resize: (1080, 1632) 1357606194 -5.682581833396473 treat image : temp/1747034247_1494394_1357606122_5d3dc7c6579b9af57f0a6924fc080667.jpg resize: (1080, 1632) 1357606122 -5.32019050603674 treat image : temp/1747034247_1494394_1357606119_97cb2fe77bafe2ac9bce88e5a224a6d7.jpg resize: (1080, 1632) 1357606119 -5.515981500996324 treat image : temp/1747034247_1494394_1357606116_80556c67c9a49ec2eeb8b79ad6fd5bed.jpg resize: (1080, 1632) 1357606116 -1.1260471376048171 treat image : temp/1747034247_1494394_1357606114_b39ff943080e5e97f30d91e3366c0ae8.jpg resize: (1080, 1632) 1357606114 -1.9964161595129526 treat image : temp/1747034247_1494394_1357606077_0198f52b7d09b50fec059eeb39c83362.jpg resize: (1080, 1632) 1357606077 -6.735575745846004 treat image : temp/1747034247_1494394_1357606072_0fa7801e01e51b9b9022203cca933b7b.jpg resize: (1080, 1632) 1357606072 -5.808355131292385 treat image : temp/1747034247_1494394_1357606070_fe55afb9d5bfb49667f21d23bd516478.jpg resize: (1080, 1632) 1357606070 -4.791257589338727 treat image : temp/1747034247_1494394_1357606068_7c3c5345761cd9ea3ea6a2747c986c9b.jpg resize: (1080, 1632) 1357606068 -5.555230223789037 treat image : temp/1747034247_1494394_1357606066_8ba7fc1cc16d5492a23bcce9d6a396fc.jpg resize: (1080, 1632) 1357606066 -5.352735805244961 treat image : temp/1747034247_1494394_1357606064_b8d5a69e5f3ad395adb304ca84052380.jpg resize: (1080, 1632) 1357606064 -4.404698388346629 treat image : temp/1747034247_1494394_1357606036_cb45a88cc52572c0effe63062877c994.jpg resize: (1080, 1632) 1357606036 -1.7618922292559767 treat image : temp/1747034247_1494394_1357606032_8c5dfc0494556e3d4ea132b59f2be800.jpg resize: (1080, 1632) 1357606032 -5.260278224257993 treat image : temp/1747034247_1494394_1357606028_47b01056cb10e4f387749670b6ea0f3e.jpg resize: (1080, 1632) 1357606028 -6.646258996954505 treat image : temp/1747034247_1494394_1357606023_c1473c77cad754dd5b15c0a81a630516.jpg resize: (1080, 1632) 1357606023 -3.7781203383304933 treat image : temp/1747034247_1494394_1357605067_9b7e7318afdd7fecba5a27d346b66616.jpg resize: (1080, 1632) 1357605067 -5.670503887294212 treat image : temp/1747034247_1494394_1357604874_f07a81d0cd8b989a848185bf46df16e5.jpg resize: (1080, 1632) 1357604874 -6.202467363982258 treat image : temp/1747034247_1494394_1357604871_2a15968d3003e10dbc2474da1fc055ad.jpg resize: (1080, 1632) 1357604871 -5.956076292547671 treat image : temp/1747034247_1494394_1357604856_0ff1194bbdcd3e2be5a59dc2dc398398.jpg resize: (1080, 1632) 1357604856 -1.991820533260072 treat image : temp/1747034247_1494394_1357604779_0a04784dae3f46eea41430d3cffcfc2e.jpg resize: (1080, 1632) 1357604779 -5.821685801657238 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.013533353805541992 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.01602029800415039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018794775009155273 save missing photos in datou_result : time spend for datou_step_exec : 15.212121725082397 time spend to save output : 0.05354142189025879 total time spend for step 1 : 15.265663146972656 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 2.98system 0:20.46elapsed 86%CPU (0avgtext+0avgdata 137708maxresident)k 232inputs+10224outputs (10major+260504minor)pagefaults 0swaps