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 : 1543799 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 : 3191>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/1543799/ 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.439826250076294 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 Tue Aug 12 19:02: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/1755018147_1543799_1376669267_f2dfbecabbb254b1d453e09762fa91ba.jpg resize: (1080, 1632) 1376669267 -6.204170332588974 treat image : temp/1755018147_1543799_1376669242_2244062f04dfe2f134cd2c9fbd8939a8.jpg resize: (1080, 1632) 1376669242 -5.53336606121714 treat image : temp/1755018147_1543799_1376669217_38344f2760eb8c909c5a04cd00a8a7e3.jpg resize: (1080, 1632) 1376669217 -6.211982825921434 treat image : temp/1755018147_1543799_1376669087_bdbe319ecccdb264fdf2f5e4d8fa177b.jpg resize: (1080, 1632) 1376669087 -5.329617819209701 treat image : temp/1755018147_1543799_1376669060_4d7f1abdba521fe31537e36740b1b2b8.jpg resize: (1080, 1632) 1376669060 -3.5225092257313797 treat image : temp/1755018147_1543799_1376669032_2c94f25cfcad7e3733fca7da6e3bf659.jpg resize: (1080, 1632) 1376669032 -4.551229154117585 treat image : temp/1755018147_1543799_1376669006_4b534170454f574db2dd48f9981c533b.jpg resize: (1080, 1632) 1376669006 -5.992950745827834 treat image : temp/1755018147_1543799_1376668965_8078213b267744cda95f6714df93e589.jpg resize: (1080, 1632) 1376668965 -4.595564909062418 treat image : temp/1755018147_1543799_1376668910_5c21267259d57db85238d4348e66559c.jpg resize: (1080, 1632) 1376668910 -5.756545793072203 treat image : temp/1755018147_1543799_1376668717_e2b46d593ee2ffd801f1824cffd51fd2.jpg resize: (1080, 1632) 1376668717 -6.183476154152095 treat image : temp/1755018147_1543799_1376668667_f1e3da78ae2f0828cb8893e52cf600cb.jpg resize: (1080, 1632) 1376668667 -5.927440599919617 treat image : temp/1755018147_1543799_1376668625_38f4a88c62cf26a5222c7c78975ac38d.jpg resize: (1080, 1632) 1376668625 -5.790978329717816 treat image : temp/1755018147_1543799_1376668574_6d950bbc6067801c3d67f487cc9a6c0f.jpg resize: (1080, 1632) 1376668574 -1.7544562008090672 treat image : temp/1755018147_1543799_1376668528_bbf719df0552f64bf118b3a47c000bd2.jpg resize: (1080, 1632) 1376668528 -2.8250003769971883 treat image : temp/1755018147_1543799_1376668498_e201f970bf9d2751bce5cbca10f8b103.jpg resize: (1080, 1632) 1376668498 -4.74679829506781 treat image : temp/1755018147_1543799_1376668383_b204a67e1d6d45976f83d8709befb082.jpg resize: (1080, 1632) 1376668383 -5.871173369882063 treat image : temp/1755018147_1543799_1376668358_443707e26dd432ed52075bb85724d53e.jpg resize: (1080, 1632) 1376668358 -5.559865602926436 treat image : temp/1755018147_1543799_1376668331_fc07b804d19728fa9d933deaf46ab347.jpg resize: (1080, 1632) 1376668331 -5.929259338856787 treat image : temp/1755018147_1543799_1376668289_f706fee583636039e3765e4559b31ffa.jpg resize: (1080, 1632) 1376668289 -4.2900484204896845 treat image : temp/1755018147_1543799_1376668266_8fd2a609f505cd02413fc1364fdfb461.jpg resize: (1080, 1632) 1376668266 -5.385143292440396 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.012519359588623047 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.01194620132446289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016056537628173828 save missing photos in datou_result : time spend for datou_step_exec : 15.880349397659302 time spend to save output : 0.04521775245666504 total time spend for step 1 : 15.925567150115967 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.08system 0:20.46elapsed 89%CPU (0avgtext+0avgdata 138664maxresident)k 48inputs+10512outputs (3major+257364minor)pagefaults 0swaps