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 : 873958 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 : 5946>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/873958/ 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.9950053691864014 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 17 17:47:30 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/1752767247_873958_1372486597_eb06ed8d3bac5287cf8c9254f1166191.jpg resize: (1080, 1632) 1372486597 -5.486246038426123 treat image : temp/1752767247_873958_1372486523_08f913d9d21ab477cd08cb54a97aa00b.jpg resize: (1080, 1632) 1372486523 -5.485762847508947 treat image : temp/1752767247_873958_1372486437_b31853b893e7565acd672492f573aa09.jpg resize: (1080, 1632) 1372486437 -5.486055644943447 treat image : temp/1752767247_873958_1372486366_baaef058f0a46bf61f2398ac7b9cef5a.jpg resize: (1080, 1632) 1372486366 -5.481467649443443 treat image : temp/1752767247_873958_1372486319_5648e9147ef7fb6d5be046f4ac51889b.jpg resize: (1080, 1632) 1372486319 -5.483314217275151 treat image : temp/1752767247_873958_1372486287_c9d965d10b863b6cb03772b710c787b7.jpg resize: (1080, 1632) 1372486287 -5.4816274433856895 treat image : temp/1752767247_873958_1372336394_c8d4fd18549e6a121c07f924ca875540.jpg resize: (1080, 1632) 1372336394 -4.649110173452187 treat image : temp/1752767247_873958_1372336367_8468102c43b7cbe714bb2e909fb35fd5.jpg resize: (1080, 1632) 1372336367 -4.523313194321051 treat image : temp/1752767247_873958_1372336364_f045eedeaaf5a8f3f76ffa8735722087.jpg resize: (1080, 1632) 1372336364 -4.503101221536452 treat image : temp/1752767247_873958_1372336361_a58aceefdfae9926b640f6153354b3d4.jpg resize: (1080, 1632) 1372336361 -4.521213126635907 treat image : temp/1752767247_873958_1372336359_67cc4d1e815188fe430488f3eea13f87.jpg resize: (1080, 1632) 1372336359 -4.553668605200419 treat image : temp/1752767247_873958_1372336357_a786bac091bc340629ca98337f424e91.jpg resize: (1080, 1632) 1372336357 -4.565357070203042 treat image : temp/1752767247_873958_1372336355_3fe9520a5939e795453e195a3d3c992c.jpg resize: (1080, 1632) 1372336355 -4.535499791911808 treat image : temp/1752767247_873958_1372336335_168369864b0a9e4052f87a6ee4f132a7.jpg resize: (1080, 1632) 1372336335 -4.243095175086334 treat image : temp/1752767247_873958_1372336333_9fb9efd2ff3d103649c3bafd73e02ad1.jpg resize: (1080, 1632) 1372336333 -4.256842329733458 treat image : temp/1752767247_873958_1372336330_0e64faef73564b279701027b22cd7498.jpg resize: (1080, 1632) 1372336330 -4.277576248172961 treat image : temp/1752767247_873958_1372336327_72de6acac61965cd8a62f3ad40cc666f.jpg resize: (1080, 1632) 1372336327 -4.264653140130321 treat image : temp/1752767247_873958_1372336325_7c06c5272456181e1b368989638489c5.jpg resize: (1080, 1632) 1372336325 -4.263478497473188 treat image : temp/1752767247_873958_1372336321_81d21babf662c963233dff2ea9fd3b6d.jpg resize: (1080, 1632) 1372336321 -4.282894838142338 treat image : temp/1752767247_873958_1372336305_57d24e2f835a7e77f608dc691a774ebb.jpg resize: (1080, 1632) 1372336305 -4.014296186794753 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.03243732452392578 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.03829693794250488 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03846549987792969 save missing photos in datou_result : time spend for datou_step_exec : 15.389719724655151 time spend to save output : 0.1244971752166748 total time spend for step 1 : 15.514216899871826 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 3.91system 0:21.17elapsed 85%CPU (0avgtext+0avgdata 138600maxresident)k 56inputs+8952outputs (17major+259327minor)pagefaults 0swaps