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 : 248138 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 : 3301>100 please execute split_portfolio.py -i 25751400 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3467214'] with mtr_portfolio_ids : ['25751400'] and first list_photo_ids : [] new path : /proc/248138/ 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.249086856842041 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 Aug 7 17:17: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/1754579846_248138_1375698184_6355f540cdbabdeab72e8559cf697e9f.jpg resize: (1080, 1632) 1375698184 -5.581324855019804 treat image : temp/1754579846_248138_1375698160_e1414b1855a3146845e941caf779f896.jpg resize: (1080, 1632) 1375698160 -1.4388666804297074 treat image : temp/1754579846_248138_1375698117_1435f3e5dd8a0854980752088f1f4d0e.jpg resize: (1080, 1632) 1375698117 -3.959732974044746 treat image : temp/1754579846_248138_1375698060_f80c4d686d2e9d9a490d4e663ccc0132.jpg resize: (1080, 1632) 1375698060 -5.891083047324644 treat image : temp/1754579846_248138_1375697872_baa4e4c2ffa316ba61f46f566e9b1771.jpg resize: (1080, 1632) 1375697872 -5.0880539120082995 treat image : temp/1754579846_248138_1375697868_0c9ed6f9ddac629dd076d0529fb85be8.jpg resize: (1080, 1632) 1375697868 -5.76020578402011 treat image : temp/1754579846_248138_1375697865_da8b79a898ff7e9e2db901d92315c9cb.jpg resize: (1080, 1632) 1375697865 -5.257681967237415 treat image : temp/1754579846_248138_1375697863_d924d75f4fd8793628cd0388463928bf.jpg resize: (1080, 1632) 1375697863 -5.917340154287847 treat image : temp/1754579846_248138_1375697861_3fec74301e033a182695d899e777be54.jpg resize: (1080, 1632) 1375697861 -4.178269388581018 treat image : temp/1754579846_248138_1375697858_d1a92fa4509ecdacf53377943b8c8290.jpg resize: (1080, 1632) 1375697858 -2.8941705386142473 treat image : temp/1754579846_248138_1375697854_387fafa39a66768e102139d8fec92616.jpg resize: (1080, 1632) 1375697854 -5.916295989662841 treat image : temp/1754579846_248138_1375697852_9281983b1e593a4bc51a8d8bddef96e7.jpg resize: (1080, 1632) 1375697852 -5.5203421244006 treat image : temp/1754579846_248138_1375697849_bd9db65da9bf106ec847a308d62667f1.jpg resize: (1080, 1632) 1375697849 -1.054041736028021 treat image : temp/1754579846_248138_1375697838_3da785dba858cd94df323ba08b8cfa38.jpg resize: (1080, 1632) 1375697838 -1.4259836190675945 treat image : temp/1754579846_248138_1375697834_5cbf0ecf64880e8594bf4d8f73f85a69.jpg resize: (1080, 1632) 1375697834 -1.5654018394736537 treat image : temp/1754579846_248138_1375697830_5949ed2a65a3d5c367c569de25e7d2d0.jpg resize: (1080, 1632) 1375697830 -2.698646119766755 treat image : temp/1754579846_248138_1375697827_1aa30e93659f2a5238d1e8b95a265fb0.jpg resize: (1080, 1632) 1375697827 -6.048209280696323 treat image : temp/1754579846_248138_1375697824_485e357117a1ce9fd3cdb21f4a9258ee.jpg resize: (1080, 1632) 1375697824 -5.738225507531757 treat image : temp/1754579846_248138_1375697823_167abb56a4eaba199915de2670ad6ae1.jpg resize: (1080, 1632) 1375697823 -6.291250323173733 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.014121055603027344 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.012443780899047852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.014887571334838867 save missing photos in datou_result : time spend for datou_step_exec : 14.577527523040771 time spend to save output : 0.04617023468017578 total time spend for step 1 : 14.623697757720947 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.58user 3.34system 0:19.26elapsed 87%CPU (0avgtext+0avgdata 138024maxresident)k 136inputs+9128outputs (0major+202600minor)pagefaults 0swaps