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 : 883514 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 : 6216>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/883514/ 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 : 5.820415019989014 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 Fri Aug 1 11:17:35 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/1754039850_883514_1374760690_4c7158b57688fada8e06799ed4b5a9ea.jpg resize: (1080, 1632) 1374760690 -3.4880866538364335 treat image : temp/1754039850_883514_1374760688_7bb4227020983134adc90bc2a9dbb1ba.jpg resize: (1080, 1632) 1374760688 -1.5278723164123849 treat image : temp/1754039850_883514_1374760683_a9b7e126ef3b1b69f81a5ac6be0b7971.jpg resize: (1080, 1632) 1374760683 -2.0169973167214907 treat image : temp/1754039850_883514_1374760678_fde925077186fa84ec99474c96c7d422.jpg resize: (1080, 1632) 1374760678 -1.9111659254497926 treat image : temp/1754039850_883514_1374760673_43958e75b20c5f511b2bb558148ee0f2.jpg resize: (1080, 1632) 1374760673 -2.954500970724689 treat image : temp/1754039850_883514_1374760670_9fc533ce300cc49e2bacea4fab24998d.jpg resize: (1080, 1632) 1374760670 -5.818542602631808 treat image : temp/1754039850_883514_1374750827_b5759794779e4408aec0fbfb3c7611fb.jpg resize: (1080, 1632) 1374750827 -5.058273623757994 treat image : temp/1754039850_883514_1374750804_66a8a8bea4008280930e3459b1e1683f.jpg resize: (1080, 1632) 1374750804 -5.116975022790283 treat image : temp/1754039850_883514_1374750777_f47ef74d4296715443d32c51be72a8e3.jpg resize: (1080, 1632) 1374750777 -5.048151575491771 treat image : temp/1754039850_883514_1374750769_fb2e67ecfe1007238354d65118eeee40.jpg resize: (1080, 1632) 1374750769 -5.211711939583573 treat image : temp/1754039850_883514_1374750767_50344fa47dec86933b85a63dd968e1d0.jpg resize: (1080, 1632) 1374750767 -4.215938683395209 treat image : temp/1754039850_883514_1374750765_0cce2a1e56a744b923324f696a99044d.jpg resize: (1080, 1632) 1374750765 -5.16667379063109 treat image : temp/1754039850_883514_1374750658_2c9a0e755a62e408c2624d23ac5544cb.jpg resize: (1080, 1632) 1374750658 -3.0013893085486445 treat image : temp/1754039850_883514_1374750641_9c21163304f941b1aee2f494d03c49d0.jpg resize: (1080, 1632) 1374750641 -2.795947189611161 treat image : temp/1754039850_883514_1374750629_e3e75ee2935e94c2b65d09615ce97ac2.jpg resize: (1080, 1632) 1374750629 -1.832318044742188 treat image : temp/1754039850_883514_1374750623_3ce3d0379977f2bf243221526b6bfa33.jpg resize: (1080, 1632) 1374750623 -2.336061620940358 treat image : temp/1754039850_883514_1374750608_1a5ca813712f1da68cf403a1e4976b6c.jpg resize: (1080, 1632) 1374750608 -5.213867635517742 treat image : temp/1754039850_883514_1374750576_5e78da33b581dce84d4621b5ed897f81.jpg resize: (1080, 1632) 1374750576 -5.407939002970414 treat image : temp/1754039850_883514_1374750191_65026aa122e969caaaa31cb1de3a3eaf.jpg resize: (1080, 1632) 1374750191 -4.9022222935669735 treat image : temp/1754039850_883514_1374750168_4f0e873b77b67c67e5663d04117f20e0.jpg resize: (1080, 1632) 1374750168 -4.967156785362173 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.01676487922668457 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.016020774841308594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020839452743530273 save missing photos in datou_result : time spend for datou_step_exec : 14.555184364318848 time spend to save output : 0.058623313903808594 total time spend for step 1 : 14.613807678222656 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 2.90system 0:24.43elapsed 70%CPU (0avgtext+0avgdata 139084maxresident)k 168inputs+8624outputs (10major+237020minor)pagefaults 0swaps