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 : 4188584 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/4188584/ 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 : 12.172746896743774 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 17 11:27:38 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/1752744446_4188584_1372336248_c983bbc4e9f1c81519b88947815fad48.jpg resize: (1080, 1632) 1372336248 -2.5555885706715165 treat image : temp/1752744446_4188584_1372336245_10ce006243599624d0f3edfc55424626.jpg resize: (1080, 1632) 1372336245 -2.335554268312625 treat image : temp/1752744446_4188584_1372336242_785fe927cb37f647981ffafde90ce260.jpg resize: (1080, 1632) 1372336242 -2.3040450233268137 treat image : temp/1752744446_4188584_1372336238_06c8c08b95a80955ad8d857544914fc4.jpg resize: (1080, 1632) 1372336238 -2.335386361395555 treat image : temp/1752744446_4188584_1372336236_0b7a3ea02a0c55b37bc29a191f0ba1bf.jpg resize: (1080, 1632) 1372336236 -2.3089750649082346 treat image : temp/1752744446_4188584_1372336233_debd14087ed2662a93bcda0a5a851394.jpg resize: (1080, 1632) 1372336233 -2.319441332712968 treat image : temp/1752744446_4188584_1372336202_5318d401aae74eb085fe85de4e34eb3e.jpg resize: (1080, 1632) 1372336202 -2.9163114963458727 treat image : temp/1752744446_4188584_1372336199_5634687abd86b2e15b57d05ea04f99ce.jpg resize: (1080, 1632) 1372336199 -2.9366374307782976 treat image : temp/1752744446_4188584_1372336197_cbdfadbd9d8d2857eb7c8313e103e048.jpg resize: (1080, 1632) 1372336197 -2.912235003725952 treat image : temp/1752744446_4188584_1372336194_65b5659fdd93feb9b7e8917f8561962f.jpg resize: (1080, 1632) 1372336194 -2.9254676359336163 treat image : temp/1752744446_4188584_1372336191_6ebf3630955571745d83413d75a4dd68.jpg resize: (1080, 1632) 1372336191 -2.911742885466791 treat image : temp/1752744446_4188584_1372336190_dbb66181d9939efef6f2c5c72197b744.jpg resize: (1080, 1632) 1372336190 -2.909051211618058 treat image : temp/1752744446_4188584_1372336156_871663716a6370c98227e605a7a2bf37.jpg resize: (1080, 1632) 1372336156 -2.8819341011437447 treat image : temp/1752744446_4188584_1372336129_b6fa899f8f0e513ae30d3c68ce618344.jpg resize: (1080, 1632) 1372336129 -2.819687538659905 treat image : temp/1752744446_4188584_1372336125_e57239326e89224639d9e0277c5c2b4f.jpg resize: (1080, 1632) 1372336125 -2.149257299245902 treat image : temp/1752744446_4188584_1372336121_5181262322a45dcfe96930f0924549df.jpg resize: (1080, 1632) 1372336121 -2.934918694549684 treat image : temp/1752744446_4188584_1372336120_c04e6f6fabf32774a4ea8351a848a769.jpg resize: (1080, 1632) 1372336120 -2.909036842773192 treat image : temp/1752744446_4188584_1372336119_9dabbf6ec9d3d5168a057a907f91edb3.jpg resize: (1080, 1632) 1372336119 -2.8598246956311866 treat image : temp/1752744446_4188584_1372336118_df323442722a596ea22815b0d8ff771f.jpg resize: (1080, 1632) 1372336118 -2.9093433707163374 treat image : temp/1752744446_4188584_1372336096_957055131c089df2db8b3289df13944c.jpg resize: (1080, 1632) 1372336096 -2.777631199813315 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.030892372131347656 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.03160524368286133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03456377983093262 save missing photos in datou_result : time spend for datou_step_exec : 14.1694815158844 time spend to save output : 0.11115741729736328 total time spend for step 1 : 14.280638933181763 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 2.61system 0:28.20elapsed 58%CPU (0avgtext+0avgdata 138432maxresident)k 0inputs+6928outputs (0major+250462minor)pagefaults 0swaps