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 : 2879365 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 : 2885>100 please execute split_portfolio.py -i 26067161 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3554360'] with mtr_portfolio_ids : ['26067161'] and first list_photo_ids : [] new path : /proc/2879365/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.384053945541382 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 Aug 20 19: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/1755712048_2879365_1378127335_4eb8cfea7d557048c9bf325fe539295c.jpg resize: (1080, 1632) 1378127335 -2.8806169129862966 treat image : temp/1755712048_2879365_1378127329_68d7985ff36ad8c28fb0d1cb6199b6fa.jpg resize: (1080, 1632) 1378127329 -1.1597573798381222 treat image : temp/1755712048_2879365_1378127326_a38a92dc8f7738c709a82948d6ae3271.jpg resize: (1080, 1632) 1378127326 -5.285006124876362 treat image : temp/1755712048_2879365_1378127324_40ba5258ea3af2685a189f1b0bfb4cd3.jpg resize: (1080, 1632) 1378127324 -5.645491324623408 treat image : temp/1755712048_2879365_1378127320_8774e5e1fc10d7d18f97956e8c5d0732.jpg resize: (1080, 1632) 1378127320 -5.874584409063868 treat image : temp/1755712048_2879365_1378127307_e13ff7b9581968ada4a777078c7757c5.jpg resize: (1080, 1632) 1378127307 -5.999077452851389 treat image : temp/1755712048_2879365_1378127305_03318db62a07113117cf7d4d866c430c.jpg resize: (1080, 1632) 1378127305 -6.135386307910791 treat image : temp/1755712048_2879365_1378127301_0ec8d3e1ed6b0873f6b345eba0544acc.jpg resize: (1080, 1632) 1378127301 -3.9263844519924485 treat image : temp/1755712048_2879365_1378127298_f82ef318210f924d36214b929981163b.jpg resize: (1080, 1632) 1378127298 -2.0033812830733457 treat image : temp/1755712048_2879365_1378127288_3ed43fe814f4d10e0293007d8b36a3da.jpg resize: (1080, 1632) 1378127288 -1.3455166518967736 treat image : temp/1755712048_2879365_1378127285_9553fb49e93fd9a65df55a2f58306117.jpg resize: (1080, 1632) 1378127285 -1.2238132720967292 treat image : temp/1755712048_2879365_1378127264_3462e7d1913c1c54c4999a57e349b91b.jpg resize: (1080, 1632) 1378127264 -3.4054127309940854 treat image : temp/1755712048_2879365_1378127238_5e58635266f61ed2cde611e90efdf627.jpg resize: (1080, 1632) 1378127238 -5.71907672047251 treat image : temp/1755712048_2879365_1378127210_6e49f0d77bd5b79dca76c74f2f153caa.jpg resize: (1080, 1632) 1378127210 -5.915372074019419 treat image : temp/1755712048_2879365_1378127201_bd4f5f9d6bdeb909031943be3f6ca8d2.jpg resize: (1080, 1632) 1378127201 -5.569505979487348 treat image : temp/1755712048_2879365_1378127174_fccbe88683f65e68cc86fecbf2009111.jpg resize: (1080, 1632) 1378127174 -4.67885304784867 treat image : temp/1755712048_2879365_1378127149_ff85d2f75c7891821e009083ecee23ad.jpg resize: (1080, 1632) 1378127149 -5.4913076011651185 treat image : temp/1755712048_2879365_1378127147_ad6438f57f6ce95f2270e8e23176057d.jpg resize: (1080, 1632) 1378127147 -4.745131339441099 treat image : temp/1755712048_2879365_1378127144_4ca723e598fed31f7e8399f4860ac364.jpg resize: (1080, 1632) 1378127144 -5.829831340064523 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 : 19 time used for this insertion : 0.014881610870361328 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.01472163200378418 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.015376567840576172 save missing photos in datou_result : time spend for datou_step_exec : 15.005052328109741 time spend to save output : 0.050142765045166016 total time spend for step 1 : 15.055195093154907 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 13.75user 3.75system 0:19.76elapsed 88%CPU (0avgtext+0avgdata 138404maxresident)k 96inputs+9144outputs (16major+240473minor)pagefaults 0swaps