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 : 1819138 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 : 1002>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/1819138/ 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.478314161300659 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 08:57: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/1747810646_1819138_1359978797_7966c35fa31d2467eec8b20eee193456.jpg resize: (1080, 1632) 1359978797 -3.0179868428777445 treat image : temp/1747810646_1819138_1359978551_29b8010b39c26dff3f5a0d1c0c03f937.jpg resize: (1080, 1632) 1359978551 -4.910274627157467 treat image : temp/1747810646_1819138_1359978524_a2f428e279052c159976090375d2e302.jpg resize: (1080, 1632) 1359978524 -5.99696024536126 treat image : temp/1747810646_1819138_1359978496_51ea92a67fe16f23efaf86d6c60a279f.jpg resize: (1080, 1632) 1359978496 -5.206850616236486 treat image : temp/1747810646_1819138_1359978469_18c22d91c56df6403911da663052fb68.jpg resize: (1080, 1632) 1359978469 -5.043401893520973 treat image : temp/1747810646_1819138_1359978416_2b1b8b58f143bfcd320d605fa9e9673e.jpg resize: (1080, 1632) 1359978416 -5.65074121053157 treat image : temp/1747810646_1819138_1359978411_09ab6f44de38bdaa3d96e74db29c2907.jpg resize: (1080, 1632) 1359978411 -5.5195773316393675 treat image : temp/1747810646_1819138_1359978407_b0c4a12ab3cceeefd2077859ee4c085a.jpg resize: (1080, 1632) 1359978407 -5.51204085771376 treat image : temp/1747810646_1819138_1359978398_bb6b0f1e8d48e81762976a87c08746c1.jpg resize: (1080, 1632) 1359978398 -5.459779523245664 treat image : temp/1747810646_1819138_1359978379_11e980be93fdbc9695993e59770efa48.jpg resize: (1080, 1632) 1359978379 -2.45336813861482 treat image : temp/1747810646_1819138_1359977952_3e7c91a04ee2d3c5cf7cb672345792b2.jpg resize: (1080, 1632) 1359977952 -5.996275514927497 treat image : temp/1747810646_1819138_1359977937_cd747a1f4145725aa7525e0b6e08775e.jpg resize: (1080, 1632) 1359977937 -5.652097199305195 treat image : temp/1747810646_1819138_1359977907_93a0949557d827fd25d58ce95bd4c227.jpg resize: (1080, 1632) 1359977907 -5.453930375597938 treat image : temp/1747810646_1819138_1359970494_e063033d60b09b7b356da23a76edd4e0.jpg resize: (1080, 1632) 1359970494 -5.660895937221014 treat image : temp/1747810646_1819138_1359967656_be7fd84814ac444231983901d0f8a598.jpg resize: (1080, 1632) 1359967656 -5.491732075620489 treat image : temp/1747810646_1819138_1359967633_17b0fe1e57457ca7b12184b249e2d413.jpg resize: (1080, 1632) 1359967633 -1.6265445873921571 treat image : temp/1747810646_1819138_1359967630_bfc7172fb4b1394251c08a5ea3bf5baa.jpg resize: (1080, 1632) 1359967630 -1.3387219627246567 treat image : temp/1747810646_1819138_1359967628_406f9002efc2a79385e86696816ec33a.jpg resize: (1080, 1632) 1359967628 -2.133483286629734 treat image : temp/1747810646_1819138_1359967626_f6a0ccccf466d73dfec946ddcabc2e00.jpg resize: (1080, 1632) 1359967626 -5.038402499017186 treat image : temp/1747810646_1819138_1359967624_58ce563d334d0b7eb753d7543e909e11.jpg resize: (1080, 1632) 1359967624 -5.461323134264297 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.012115478515625 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.10190367698669434 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08885812759399414 save missing photos in datou_result : time spend for datou_step_exec : 16.492886066436768 time spend to save output : 0.20861244201660156 total time spend for step 1 : 16.70149850845337 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.66system 0:20.88elapsed 92%CPU (0avgtext+0avgdata 137008maxresident)k 968inputs+9336outputs (20major+261113minor)pagefaults 0swaps