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 : 2074393 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 : 5614>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/2074393/ 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.2083451747894287 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 Jul 4 19:47: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/1751651247_2074393_1370681148_fcadad02af7b88662e0087083d5d85a8.jpg resize: (1080, 1632) 1370681148 -3.476346560737355 treat image : temp/1751651247_2074393_1370681145_4ae323911ee74ac0629afcba9267f3fd.jpg resize: (1080, 1632) 1370681145 -1.4447311667592198 treat image : temp/1751651247_2074393_1370681142_99ef0e61ff8778c223bd5014f91dbba0.jpg resize: (1080, 1632) 1370681142 -1.4980088441870778 treat image : temp/1751651247_2074393_1370681140_09551fe9a703ff6cddf3e488289875fe.jpg resize: (1080, 1632) 1370681140 -2.495991337596724 treat image : temp/1751651247_2074393_1370681138_e5455078e375898c79463043c2de5be2.jpg resize: (1080, 1632) 1370681138 -1.6631219319892168 treat image : temp/1751651247_2074393_1370681137_f216a5e0ec6cc1c93f441d16e65a70c5.jpg resize: (1080, 1632) 1370681137 -3.2325161160722016 treat image : temp/1751651247_2074393_1370681126_3a5b6169fd14a89655ffac849104df7c.jpg resize: (1080, 1632) 1370681126 -4.939432914566493 treat image : temp/1751651247_2074393_1370681123_58d57cff56629b87b57bf0a2be5a36cf.jpg resize: (1080, 1632) 1370681123 -4.850121098419779 treat image : temp/1751651247_2074393_1370681117_6b41eda4b4c91b798e956a76cb7f6900.jpg resize: (1080, 1632) 1370681117 -4.047006329043549 treat image : temp/1751651247_2074393_1370681105_d3dcd3a8348e5c4487f7e337aece8829.jpg resize: (1080, 1632) 1370681105 -4.905162543335577 treat image : temp/1751651247_2074393_1370681103_f1fae2c993215f8f22171bf43a7a3e5a.jpg resize: (1080, 1632) 1370681103 -4.409029095117947 treat image : temp/1751651247_2074393_1370681100_f02ddf76f204c4d43da2b11f8a416d37.jpg resize: (1080, 1632) 1370681100 -2.7000088215662594 treat image : temp/1751651247_2074393_1370681090_315c2a53d6686d39e00c2c47ed92fd5a.jpg resize: (1080, 1632) 1370681090 -2.607077503710239 treat image : temp/1751651247_2074393_1370681087_342eb053206d312ec0e5752d0592795b.jpg resize: (1080, 1632) 1370681087 -2.1353829858362263 treat image : temp/1751651247_2074393_1370681084_95fc0e496ad3c31037d0e3a7b10477ed.jpg resize: (1080, 1632) 1370681084 -2.144591325306776 treat image : temp/1751651247_2074393_1370681082_4cb96250e8b029ccc9a46d44927ca206.jpg resize: (1080, 1632) 1370681082 -3.8261967733617377 treat image : temp/1751651247_2074393_1370681079_f280e415b0a509714de60b6536f94795.jpg resize: (1080, 1632) 1370681079 -5.330068834145041 treat image : temp/1751651247_2074393_1370681077_050950e56d3eaa2ccd3f4b079cd28d32.jpg resize: (1080, 1632) 1370681077 -5.3586486439326935 treat image : temp/1751651247_2074393_1370681060_6066271ab9bfd71ab7b9ee5711d090ac.jpg resize: (1080, 1632) 1370681060 -3.384604155601764 treat image : temp/1751651247_2074393_1370681055_3ffce28e2b4931463bd5038f08faea78.jpg resize: (1080, 1632) 1370681055 -5.2471454614865145 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.013666629791259766 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.014199972152709961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014570236206054688 save missing photos in datou_result : time spend for datou_step_exec : 15.213424444198608 time spend to save output : 0.047724246978759766 total time spend for step 1 : 15.261148691177368 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.77user 3.90system 0:20.19elapsed 87%CPU (0avgtext+0avgdata 139816maxresident)k 120inputs+8016outputs (2major+243193minor)pagefaults 0swaps