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 : 3734520 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 : 7484>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/3734520/ 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.346367120742798 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 31 22:57: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/1753995447_3734520_1374664934_c5df093dcd5cc392d9217ac74e5cceed.jpg resize: (1080, 1632) 1374664934 -3.1379109921472788 treat image : temp/1753995447_3734520_1374664907_ab923e233a4b520e8f6be78866f9b0a4.jpg resize: (1080, 1632) 1374664907 -3.608705559588507 treat image : temp/1753995447_3734520_1374664880_fea9e70bc87c913862ced405374da71b.jpg resize: (1080, 1632) 1374664880 -5.060346042413902 treat image : temp/1753995447_3734520_1374664855_fb963d247e3a9f1c4dd8cdb306a60277.jpg resize: (1080, 1632) 1374664855 -5.039067797179753 treat image : temp/1753995447_3734520_1374664827_9a20a9729d2978e830c8462192033da0.jpg resize: (1080, 1632) 1374664827 -4.242477041288169 treat image : temp/1753995447_3734520_1374664800_4fa18e110525460662571036be72de2c.jpg resize: (1080, 1632) 1374664800 -4.397268958964418 treat image : temp/1753995447_3734520_1374664383_403ebc5a3ab40d7a89097e44462c2b8b.jpg resize: (1080, 1632) 1374664383 -5.01566343359005 treat image : temp/1753995447_3734520_1374664331_76fc5cb57f1165cd80fff3dda00a067d.jpg resize: (1080, 1632) 1374664331 -1.5839324629938667 treat image : temp/1753995447_3734520_1374664307_7e24f22ba233ec4338736eb1fcc25152.jpg resize: (1080, 1632) 1374664307 -2.0503681880231563 treat image : temp/1753995447_3734520_1374664298_9fec5688e48c6b15f7dc77a63c08a945.jpg resize: (1080, 1632) 1374664298 -2.1254596957291074 treat image : temp/1753995447_3734520_1374664297_a836dac09c2263f6d39972f643d139b7.jpg resize: (1080, 1632) 1374664297 -4.41132378911202 treat image : temp/1753995447_3734520_1374664296_a2f054e88cf6880c0bd9055958393172.jpg resize: (1080, 1632) 1374664296 -4.928129499364238 treat image : temp/1753995447_3734520_1374664079_95b9f03d0ddf0323b6adf293df9e60ae.jpg resize: (1080, 1632) 1374664079 -5.727805936018009 treat image : temp/1753995447_3734520_1374664078_a26715ad874fc63dac5f94562e7d512a.jpg resize: (1080, 1632) 1374664078 -5.566378329692193 treat image : temp/1753995447_3734520_1374664077_cd2d0a035234f89a1d3bc2254dfbed64.jpg resize: (1080, 1632) 1374664077 -4.695269126426223 treat image : temp/1753995447_3734520_1374664076_41c4c7345573af1a76ef7c4c0dc8d5c4.jpg resize: (1080, 1632) 1374664076 -0.8991296334658355 treat image : temp/1753995447_3734520_1374664075_74aef619c7592a7810a4386176ad4f65.jpg resize: (1080, 1632) 1374664075 -5.383297018345126 treat image : temp/1753995447_3734520_1374664074_1298b0f5cfc3240d09a9807dab0e839e.jpg resize: (1080, 1632) 1374664074 -4.640666518509527 treat image : temp/1753995447_3734520_1374663917_073e1d50d3f4c39c79b8d4d03c1ad697.jpg resize: (1080, 1632) 1374663917 -3.265439187613375 treat image : temp/1753995447_3734520_1374663891_7cc055cd2c5fac3c9f98358bf39f6769.jpg resize: (1080, 1632) 1374663891 -6.180279171881898 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.012785911560058594 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.011804580688476562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014045000076293945 save missing photos in datou_result : time spend for datou_step_exec : 16.965312480926514 time spend to save output : 0.04301619529724121 total time spend for step 1 : 17.008328676223755 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 5.32system 0:22.21elapsed 91%CPU (0avgtext+0avgdata 139620maxresident)k 280inputs+8768outputs (6major+257833minor)pagefaults 0swaps