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 : 4089148 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 : 2880>100 please execute split_portfolio.py -i 26046582 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551869'] with mtr_portfolio_ids : ['26046582'] and first list_photo_ids : [] new path : /proc/4089148/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.191340208053589 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 Tue Aug 19 22:02:29 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/1755633747_4089148_1377948174_6c01f2a8d811ea1b8f51dd1300bb427f.jpg resize: (1080, 1632) 1377948174 -3.412099322294204 treat image : temp/1755633747_4089148_1377948170_9d8b5dbfe4412671a9faf6ee7ee1c37d.jpg resize: (1080, 1632) 1377948170 -2.145232336861054 treat image : temp/1755633747_4089148_1377948169_75431baa4e6f261ca24c87c6ee484dda.jpg resize: (1080, 1632) 1377948169 -3.380557637321132 treat image : temp/1755633747_4089148_1377948151_349dac04a1c7e7bc479ccc7a6f48d1da.jpg resize: (1080, 1632) 1377948151 -3.5823588550421896 treat image : temp/1755633747_4089148_1377948118_38deea932f1a1ef4ca5e28812d48d467.jpg resize: (1080, 1632) 1377948118 -5.366876382807182 treat image : temp/1755633747_4089148_1377948081_aae3af5d1b1ca27d8578a11b524cb3aa.jpg resize: (1080, 1632) 1377948081 -4.422939752153319 treat image : temp/1755633747_4089148_1377948062_0a59cfa71dc866bd28a61a48bfa69cc7.jpg resize: (1080, 1632) 1377948062 -6.059595931091076 treat image : temp/1755633747_4089148_1377948061_9b9197aa5b62c7b83679c2126b7d6275.jpg resize: (1080, 1632) 1377948061 -5.689424194240025 treat image : temp/1755633747_4089148_1377948059_162f9f2df45b12966168f4855d1ad04b.jpg resize: (1080, 1632) 1377948059 -5.756832913612446 treat image : temp/1755633747_4089148_1377948058_8b829b222d612c2f459271ed2f8b6158.jpg resize: (1080, 1632) 1377948058 -5.658117797482399 treat image : temp/1755633747_4089148_1377948057_7dc2c65fd6d8d6cfb1d8a01a47b0affb.jpg resize: (1080, 1632) 1377948057 -5.057852451453319 treat image : temp/1755633747_4089148_1377948053_32d8e664c1ca09a2796c4212145660d4.jpg resize: (1080, 1632) 1377948053 -5.087421165064651 treat image : temp/1755633747_4089148_1377948008_39d531e83b9cfaf372954150a73002fc.jpg resize: (1080, 1632) 1377948008 -3.412099322294204 treat image : temp/1755633747_4089148_1377948005_0e5b51c1741551792eefcb64614cc53f.jpg resize: (1080, 1632) 1377948005 -2.145232336861054 treat image : temp/1755633747_4089148_1377948001_c3d3cfb6d4d8e7135c76b5d0776de3bc.jpg resize: (1080, 1632) 1377948001 -3.380557637321132 treat image : temp/1755633747_4089148_1377947998_73b5f04591f0d6ef5b5c4fa2690ee216.jpg resize: (1080, 1632) 1377947998 -3.5823588550421896 treat image : temp/1755633747_4089148_1377947991_82ab2187a72c5b5385f3f22d6e5bc8fc.jpg resize: (1080, 1632) 1377947991 -5.366876382807182 treat image : temp/1755633747_4089148_1377947988_6418c3b27f9cabbc20f9034c8a1a3d3c.jpg resize: (1080, 1632) 1377947988 -4.422939752153319 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 : 18 time used for this insertion : 0.012894868850708008 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.013190984725952148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01668238639831543 save missing photos in datou_result : time spend for datou_step_exec : 13.641879081726074 time spend to save output : 0.048409461975097656 total time spend for step 1 : 13.690288543701172 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.25user 3.22system 0:18.59elapsed 88%CPU (0avgtext+0avgdata 138228maxresident)k 0inputs+7960outputs (1major+232389minor)pagefaults 0swaps