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 : 3202992 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 : 7631>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3202992/ 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.531341552734375 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 18:12:32 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/1753978349_3202992_1374629297_26a28a2c6651907aa82c597bb4af570e.jpg resize: (1080, 1632) 1374629297 -5.864090891548777 treat image : temp/1753978349_3202992_1374629294_76ceef749ab7a6164d3f42a5547db813.jpg resize: (1080, 1632) 1374629294 -5.768665927547281 treat image : temp/1753978349_3202992_1374629292_2c582c2480c53896bbc31410eef30a94.jpg resize: (1080, 1632) 1374629292 -5.665171657030533 treat image : temp/1753978349_3202992_1374629291_b1205e32ec116b101d041643d6720548.jpg resize: (1080, 1632) 1374629291 -5.8241670493650375 treat image : temp/1753978349_3202992_1374629289_2e36dd01c348dd7141aadd16356f6851.jpg resize: (1080, 1632) 1374629289 -6.148789130633631 treat image : temp/1753978349_3202992_1374629286_de723930ca17443954c6385b5f6fd13b.jpg resize: (1080, 1632) 1374629286 -5.813056386649669 treat image : temp/1753978349_3202992_1374629206_f1c3ffe4ba7dc7546cef8fc76b993600.jpg resize: (1080, 1632) 1374629206 -5.721144782994991 treat image : temp/1753978349_3202992_1374629204_5f32eef9708ad931bcddf58b7e6c85be.jpg resize: (1080, 1632) 1374629204 -5.749207292328867 treat image : temp/1753978349_3202992_1374629202_e2df498bf33a80c52f87ab14cec6e56d.jpg resize: (1080, 1632) 1374629202 -5.732956036018062 treat image : temp/1753978349_3202992_1374629199_2dc8ff2b3cfa8069b8a2f7508aa972eb.jpg resize: (1080, 1632) 1374629199 -2.1065273906604456 treat image : temp/1753978349_3202992_1374629196_f4b83020de2948e78f4c2d2877f6357e.jpg resize: (1080, 1632) 1374629196 -3.1358463001737986 treat image : temp/1753978349_3202992_1374629193_05f4ade50dbd2162b15393345602824a.jpg resize: (1080, 1632) 1374629193 -1.6015946124251257 treat image : temp/1753978349_3202992_1374629108_bcb2fc84c1804a00ab7697af16a218e6.jpg resize: (1080, 1632) 1374629108 -2.5680224821234265 treat image : temp/1753978349_3202992_1374629105_e0a75bf9254fb2288fa41645b8fa8a4d.jpg resize: (1080, 1632) 1374629105 -3.5506475453703557 treat image : temp/1753978349_3202992_1374629104_b1179a226282a38a311b32a40a6c522c.jpg resize: (1080, 1632) 1374629104 -5.982058895130418 treat image : temp/1753978349_3202992_1374629103_80ea5af1e1580b00be0e7d041e5d0773.jpg resize: (1080, 1632) 1374629103 -5.489549929974856 treat image : temp/1753978349_3202992_1374629102_d4dc5a6aa582dc8b71f8c5e89e8562f2.jpg resize: (1080, 1632) 1374629102 -5.578221251974727 treat image : temp/1753978349_3202992_1374629101_71dbe52604c50d6a4783fe6367204320.jpg resize: (1080, 1632) 1374629101 -4.918027304650011 treat image : temp/1753978349_3202992_1374629074_e62c7c55c95ba34322786b63f8ca5841.jpg resize: (1080, 1632) 1374629074 -1.3442925722049615 treat image : temp/1753978349_3202992_1374629072_0196609f4f8e77a2d31dcc45cea1bc15.jpg resize: (1080, 1632) 1374629072 -4.077409937584328 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.012471914291381836 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.012264490127563477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013653755187988281 save missing photos in datou_result : time spend for datou_step_exec : 16.200950145721436 time spend to save output : 0.04377484321594238 total time spend for step 1 : 16.244724988937378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 4.12system 0:22.90elapsed 82%CPU (0avgtext+0avgdata 139700maxresident)k 144inputs+9920outputs (20major+255756minor)pagefaults 0swaps