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 : 3170937 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 : 2107>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3170937/ 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.142916202545166 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 Wed May 21 15:27: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/1747834047_3170937_1360046733_a7035061d63892d55cb56348d02b1b7e.jpg resize: (1080, 1632) 1360046733 -5.1524998829673985 treat image : temp/1747834047_3170937_1360046703_9e93ac8603e4c8b6459e7a7a648c3e49.jpg resize: (1080, 1632) 1360046703 -4.7502948536721314 treat image : temp/1747834047_3170937_1360046676_02768a8b8d01c100c4a3ad9810f02aa1.jpg resize: (1080, 1632) 1360046676 -1.7117289167715621 treat image : temp/1747834047_3170937_1360046662_ca64bb94a30d831586e102fe1d32e2df.jpg resize: (1080, 1632) 1360046662 -2.804221437703928 treat image : temp/1747834047_3170937_1360046305_db13be7acc97d495093b8922bfd755e1.jpg resize: (1080, 1632) 1360046305 -5.898346405609763 treat image : temp/1747834047_3170937_1360046278_fa556e227355718daae8e85db6c588c1.jpg resize: (1080, 1632) 1360046278 -5.656601284458952 treat image : temp/1747834047_3170937_1360046254_94138637ac350ca075141ef0deeb2e1c.jpg resize: (1080, 1632) 1360046254 -5.140948966929312 treat image : temp/1747834047_3170937_1360046251_e54301d4493c4be33d3f6f10d52c81da.jpg resize: (1080, 1632) 1360046251 -5.665735459811902 treat image : temp/1747834047_3170937_1360046249_34bcd2378ba26bd68ffe70ac00bf0a4a.jpg resize: (1080, 1632) 1360046249 -4.057922148398332 treat image : temp/1747834047_3170937_1360046244_8f80098de41fa081159eb6dac438e372.jpg resize: (1080, 1632) 1360046244 -5.563615205959363 treat image : temp/1747834047_3170937_1360045994_a778dae0ba8696726e10e5f207881c62.jpg resize: (1080, 1632) 1360045994 -1.575956346660128 treat image : temp/1747834047_3170937_1360045961_9c1a623ba3729c195c3e04c7833e3616.jpg resize: (1080, 1632) 1360045961 -3.6839748380489796 treat image : temp/1747834047_3170937_1360045895_4e6c95169450d31b55372d9bf20b7ad5.jpg resize: (1080, 1632) 1360045895 -2.8409441583700343 treat image : temp/1747834047_3170937_1360045792_4529e57982628e7fa975cc7d1910cd44.jpg resize: (1080, 1632) 1360045792 -6.081538278282213 treat image : temp/1747834047_3170937_1360045442_4e7ccc3481b0f43be0da26fb7d95558c.jpg resize: (1080, 1632) 1360045442 -3.633249383579982 treat image : temp/1747834047_3170937_1360045441_d81ad3c6217e95eaab8315cb86c89afc.jpg resize: (1080, 1632) 1360045441 -6.138397492933353 treat image : temp/1747834047_3170937_1360045439_74576229c2880fb96e7dc6d9c90663bd.jpg resize: (1080, 1632) 1360045439 -6.058601236997702 treat image : temp/1747834047_3170937_1360045437_1ea1fb8c48d8211310496d3f4d3d1ebd.jpg resize: (1080, 1632) 1360045437 -5.916084272024739 treat image : temp/1747834047_3170937_1360045435_7188269be356ebfd277d10bd03101c64.jpg resize: (1080, 1632) 1360045435 -4.4716205582920425 treat image : temp/1747834047_3170937_1360045414_fb113c8fc114bdfc7835009c1d5ee587.jpg resize: (1080, 1632) 1360045414 -5.641154932404396 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.016389131546020508 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.013771295547485352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015193700790405273 save missing photos in datou_result : time spend for datou_step_exec : 17.362109899520874 time spend to save output : 0.2994506359100342 total time spend for step 1 : 17.661560535430908 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.50user 4.36system 0:21.69elapsed 91%CPU (0avgtext+0avgdata 137368maxresident)k 12240inputs+10056outputs (82major+262600minor)pagefaults 0swaps