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 : 570122 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 : 7146>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/570122/ 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.3699443340301514 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 03:27: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/1752110847_570122_1371473367_9ac0f5f42dbbe97fa0fe1340dae7aa2c.jpg resize: (1080, 1632) 1371473367 -4.889782497884776 treat image : temp/1752110847_570122_1371473366_3b73cbee8131fdae31cb45de38def234.jpg resize: (1080, 1632) 1371473366 -4.8884962541091905 treat image : temp/1752110847_570122_1371473364_01e3dee09ab80d7e88ce3462848cd0dc.jpg resize: (1080, 1632) 1371473364 -4.876145728126804 treat image : temp/1752110847_570122_1371473363_054a21215e3a4fc2fc29a7546c2bf761.jpg resize: (1080, 1632) 1371473363 -4.870951516115984 treat image : temp/1752110847_570122_1371473362_72f74d3ed590831f322c6ac696b9ec53.jpg resize: (1080, 1632) 1371473362 -4.882056470984634 treat image : temp/1752110847_570122_1371473361_044869cbe51e5dd039d2e6673ef80e8e.jpg resize: (1080, 1632) 1371473361 -4.8927612991361595 treat image : temp/1752110847_570122_1371473333_3a52a1f8b2a1f54a9b06785b38e2feb8.jpg resize: (1080, 1632) 1371473333 -4.896638640152417 treat image : temp/1752110847_570122_1371473332_162436a139fcfe1e8222c98edd14e869.jpg resize: (1080, 1632) 1371473332 -4.904411079788154 treat image : temp/1752110847_570122_1371473327_8e8da85c1a14462538ce93a2fe2f4a95.jpg resize: (1080, 1632) 1371473327 -4.911139956419413 treat image : temp/1752110847_570122_1371473325_e6bafe9cee4e01570a62a9ab18e72968.jpg resize: (1080, 1632) 1371473325 -4.909698482875508 treat image : temp/1752110847_570122_1371473324_386afb01c2f08fb254a627b81593895f.jpg resize: (1080, 1632) 1371473324 -4.911086932639448 treat image : temp/1752110847_570122_1371473323_effc319c7134abdd40a10b28f319f2fe.jpg resize: (1080, 1632) 1371473323 -4.909834940762092 treat image : temp/1752110847_570122_1371473163_82adea0c489aec62734f2d8f8784e98e.jpg resize: (1080, 1632) 1371473163 -2.9667682725163047 treat image : temp/1752110847_570122_1371473159_d5453be0515ff85dbb6f5709f338af11.jpg resize: (1080, 1632) 1371473159 -2.932373571829548 treat image : temp/1752110847_570122_1371473153_78d6c2748125e74690e2dd048138c8eb.jpg resize: (1080, 1632) 1371473153 -2.5952343971485883 treat image : temp/1752110847_570122_1371473151_4e5d9bc0b7e17a6918b4b1566e61c4cd.jpg resize: (1080, 1632) 1371473151 -2.5314143968518907 treat image : temp/1752110847_570122_1371473136_ec0d3fd6aec1475bbf1d08b89f0a99ce.jpg resize: (1080, 1632) 1371473136 -2.5732724501554616 treat image : temp/1752110847_570122_1371473135_bce5524535c082ecf157a537c2f2d8e3.jpg resize: (1080, 1632) 1371473135 -2.753919013724889 treat image : temp/1752110847_570122_1371473134_c3e2cf2625c2ec54029e083d5d2172d3.jpg resize: (1080, 1632) 1371473134 -2.7232215224137284 treat image : temp/1752110847_570122_1371473133_4f137b6bef057a2e0d1930a4326b3900.jpg resize: (1080, 1632) 1371473133 -2.7216421987662764 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.0164947509765625 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.01596689224243164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018950939178466797 save missing photos in datou_result : time spend for datou_step_exec : 14.09855318069458 time spend to save output : 0.05627584457397461 total time spend for step 1 : 14.154829025268555 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 2.79system 0:18.64elapsed 88%CPU (0avgtext+0avgdata 139364maxresident)k 56inputs+8312outputs (17major+202512minor)pagefaults 0swaps