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 : 225221 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 : 3030>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/225221/ 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.2624597549438477 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 Feb 5 17:07:28 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/1738771646_225221_1334982510_0fceee6dffd1cd754ac8491bfd2a4e87.jpg resize: (1080, 1632) 1334982510 -2.6101843792576074 treat image : temp/1738771646_225221_1334982495_dc39a4b18c26a03ab7ba1361d9e55143.jpg resize: (1080, 1632) 1334982495 -4.701302977024028 treat image : temp/1738771646_225221_1334982489_845afd0361d3b1668668b9a7ed0406e4.jpg resize: (1080, 1632) 1334982489 -6.258119050524357 treat image : temp/1738771646_225221_1334982486_30b0eab07304392d295ec5712a2aac68.jpg resize: (1080, 1632) 1334982486 -6.810336840739868 treat image : temp/1738771646_225221_1334982478_c7d68ac19075ea89b0bcfe8558d18425.jpg resize: (1080, 1632) 1334982478 -6.262691996982418 treat image : temp/1738771646_225221_1334982471_0f3e1fdbb1ffcbc31aa23d0521cc8775.jpg resize: (1080, 1632) 1334982471 -6.192122121554662 treat image : temp/1738771646_225221_1334982449_9ffe49301b04abb40eddda011b3c3db5.jpg resize: (1080, 1632) 1334982449 -5.8615892108428955 treat image : temp/1738771646_225221_1334982442_4ec0212f7f4cf842d732dbe87c78cdb7.jpg resize: (1080, 1632) 1334982442 -5.403748461717162 treat image : temp/1738771646_225221_1334982438_f0ea35e64a74502192d37656e4b261df.jpg resize: (1080, 1632) 1334982438 -6.082589825425244 treat image : temp/1738771646_225221_1334982435_09af17f7cf00920749eee6d7adf9a71b.jpg resize: (1080, 1632) 1334982435 -4.755509662121181 treat image : temp/1738771646_225221_1334982430_148031e42ea6ca2f617aa292fbfa0333.jpg resize: (1080, 1632) 1334982430 -4.642831165290471 treat image : temp/1738771646_225221_1334982428_d334879b7eabbefa8f4b01bfb3b89814.jpg resize: (1080, 1632) 1334982428 -5.5409581172804385 treat image : temp/1738771646_225221_1334982399_425c1ef8f99b10f45378371d1dd0b6d7.jpg resize: (1080, 1632) 1334982399 -2.404002669870199 treat image : temp/1738771646_225221_1334982396_509a8eb97e81bfd886a4660acc6e2ebc.jpg resize: (1080, 1632) 1334982396 -2.7982535009204694 treat image : temp/1738771646_225221_1334982394_134215fdbca91aa908a74deed451d6c5.jpg resize: (1080, 1632) 1334982394 -6.004388446684466 treat image : temp/1738771646_225221_1334982312_2e19eca3cccb87d801fbe6391bafaffb.jpg resize: (1080, 1632) 1334982312 -6.051372464575687 treat image : temp/1738771646_225221_1334982274_93849ba3294df416d53b0ab898e692ea.jpg resize: (1080, 1632) 1334982274 -5.964157531510341 treat image : temp/1738771646_225221_1334982266_7caf72fba7f66d30c251c8f02f619c89.jpg resize: (1080, 1632) 1334982266 -3.195321907460178 treat image : temp/1738771646_225221_1334982263_3da53d2ad125534eebd0fc5aca504066.jpg resize: (1080, 1632) 1334982263 -5.052164055506747 treat image : temp/1738771646_225221_1334982240_1afd447f4f5b3e166aad4298045f5aa5.jpg resize: (1080, 1632) 1334982240 -4.031288263485353 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.012741327285766602 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.015162229537963867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014564752578735352 save missing photos in datou_result : time spend for datou_step_exec : 13.678648710250854 time spend to save output : 0.04719996452331543 total time spend for step 1 : 13.72584867477417 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 1.86system 0:17.46elapsed 92%CPU (0avgtext+0avgdata 142308maxresident)k 24inputs+10752outputs (0major+132066minor)pagefaults 0swaps