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 : 2083475 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 : 6997>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2083475/ 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.277494430541992 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 Thu Jul 10 21:52: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/1752177148_2083475_1371523233_a35a36ae94388ea16b14c11a2000d766.jpg resize: (1080, 1632) 1371523233 -2.7564315058135054 treat image : temp/1752177148_2083475_1371523227_fde802f0e8ee98c9079da5f8c96d4ad9.jpg resize: (1080, 1632) 1371523227 -2.8226087410887457 treat image : temp/1752177148_2083475_1371523224_7cf0e2a03eba7a1188c692cf0dff5b4a.jpg resize: (1080, 1632) 1371523224 -2.7555520881259437 treat image : temp/1752177148_2083475_1371523223_72a8f92127ed170a863fde55ff4d6824.jpg resize: (1080, 1632) 1371523223 -2.7773696549063165 treat image : temp/1752177148_2083475_1371523215_ecd9916d7c0e5f9950fec6cf544539e8.jpg resize: (1080, 1632) 1371523215 -2.6887526850029424 treat image : temp/1752177148_2083475_1371522921_c6fe8d2bf02ece9468c459923528a076.jpg resize: (1080, 1632) 1371522921 -2.76509427982949 treat image : temp/1752177148_2083475_1371522884_ea0b97acd0439ed49d3d83dcc8dd26fc.jpg resize: (1080, 1632) 1371522884 -2.822882717405797 treat image : temp/1752177148_2083475_1371522876_5e00808b9bc5d8b72f2d01045bc91229.jpg resize: (1080, 1632) 1371522876 -2.768056364216996 treat image : temp/1752177148_2083475_1371522869_1af88130832d8f46a13930c8f7029a30.jpg resize: (1080, 1632) 1371522869 -2.6863679434308882 treat image : temp/1752177148_2083475_1371522861_5cad8380beafae268d38a5cabfbaeffb.jpg resize: (1080, 1632) 1371522861 -2.7903760379491978 treat image : temp/1752177148_2083475_1371522700_db615b5c2b8d81680fee9a26ec377e53.jpg resize: (1080, 1632) 1371522700 -2.7462815700510133 treat image : temp/1752177148_2083475_1371522541_c6547ca7750b7f99ceb00cf63c593fc0.jpg resize: (1080, 1632) 1371522541 -2.709415779145425 treat image : temp/1752177148_2083475_1371522532_8ac51d436263834c351f000f2ccb4f0c.jpg resize: (1080, 1632) 1371522532 -2.7566969458799506 treat image : temp/1752177148_2083475_1371522524_0b5d06a2edbb3637a0377b7cafdb450f.jpg resize: (1080, 1632) 1371522524 -2.8278772118053985 treat image : temp/1752177148_2083475_1371522508_2878e9439c07cd037bac0c6ecf752378.jpg resize: (1080, 1632) 1371522508 -2.778968770039926 treat image : temp/1752177148_2083475_1371522270_86db5cc534a94195e2332f285b68327f.jpg resize: (1080, 1632) 1371522270 -2.743321218493965 treat image : temp/1752177148_2083475_1371522196_a8a2fb94a38058c7e99fc30192617e36.jpg resize: (1080, 1632) 1371522196 -2.787543668857987 treat image : temp/1752177148_2083475_1371522163_156948f9f52211961db24ee868ef3ca9.jpg resize: (1080, 1632) 1371522163 -2.731085088773214 treat image : temp/1752177148_2083475_1371522162_cb3a632f63fb765c81f0f94b13c913fc.jpg resize: (1080, 1632) 1371522162 -2.7744948898996857 treat image : temp/1752177148_2083475_1371522095_2126fd26f4ae5d09b5c56448a7cb8c0c.jpg resize: (1080, 1632) 1371522095 -2.779490523878819 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.014452695846557617 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.012825250625610352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014919757843017578 save missing photos in datou_result : time spend for datou_step_exec : 16.22413420677185 time spend to save output : 0.04795336723327637 total time spend for step 1 : 16.272087574005127 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.64user 3.96system 0:20.42elapsed 91%CPU (0avgtext+0avgdata 140060maxresident)k 0inputs+7208outputs (1major+260629minor)pagefaults 0swaps