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 : 2071492 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 : 2835>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/2071492/ 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.2797012329101562 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 04: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/1738724846_2071492_1334736700_3121a4ef9107d49533ae83a33805391e.jpg resize: (1080, 1632) 1334736700 -5.400196497387347 treat image : temp/1738724846_2071492_1334736672_2c9e2950150c4ee4fcd3e2b97499f4a0.jpg resize: (1080, 1632) 1334736672 -3.1350138179639253 treat image : temp/1738724846_2071492_1334736351_ff74ac28af6962a3417650c34d63cbcf.jpg resize: (1080, 1632) 1334736351 -4.997106370109137 treat image : temp/1738724846_2071492_1334736286_484e49191c9d85929e607e7ad377ad76.jpg resize: (1080, 1632) 1334736286 -6.042016709917768 treat image : temp/1738724846_2071492_1334736222_9cc29fecbdaab903aab1916e567fb1d7.jpg resize: (1080, 1632) 1334736222 -6.050551155372619 treat image : temp/1738724846_2071492_1334736113_d9dcfe0495f0d3b5cb05101cf8bdd473.jpg resize: (1080, 1632) 1334736113 -4.208505286611407 treat image : temp/1738724846_2071492_1334736007_b3cce5dfcd2992047b7166e9aa5ce97f.jpg resize: (1080, 1632) 1334736007 -4.282946405707345 treat image : temp/1738724846_2071492_1334735927_0975d700d8b32833928cf6b8ae3fd89b.jpg resize: (1080, 1632) 1334735927 -1.509495335150685 treat image : temp/1738724846_2071492_1334735546_ed421171f8d1a54967e766cb59f4a805.jpg resize: (1080, 1632) 1334735546 -3.0233357562479526 treat image : temp/1738724846_2071492_1334735474_9100c6788f9ca9a149962f73f4192ee6.jpg resize: (1080, 1632) 1334735474 -4.704382312922068 treat image : temp/1738724846_2071492_1334735405_f1917ad7ce5b614d83752e0bb841d884.jpg resize: (1080, 1632) 1334735405 -5.022993116828704 treat image : temp/1738724846_2071492_1334735343_f03a89c0ae3c7aa56f951fe9bb0659be.jpg resize: (1080, 1632) 1334735343 -4.7395230039581735 treat image : temp/1738724846_2071492_1334735191_4aa5f8648a665a42f044c2674ac50258.jpg resize: (1080, 1632) 1334735191 -5.492296672962828 treat image : temp/1738724846_2071492_1334735055_49af1038695521339c9f175462851f39.jpg resize: (1080, 1632) 1334735055 -5.680779462159187 treat image : temp/1738724846_2071492_1334734190_c587cf89302e390bd1de07b42e8d06c2.jpg resize: (1080, 1632) 1334734190 -4.723769235459896 treat image : temp/1738724846_2071492_1334733948_1ad92299eb56cd76c33f77d1ce8f8e86.jpg resize: (1080, 1632) 1334733948 -5.613564587992862 treat image : temp/1738724846_2071492_1334733775_2d05ed0e56ff630d292d587ebdb2f8b7.jpg resize: (1080, 1632) 1334733775 -5.445751174343721 treat image : temp/1738724846_2071492_1334733714_5def05ecfe0d64a3f43a432debe09947.jpg resize: (1080, 1632) 1334733714 -4.17121946901856 treat image : temp/1738724846_2071492_1334733711_f5003269cf62858ed7f20e6cc6874c35.jpg resize: (1080, 1632) 1334733711 -5.098094950669134 treat image : temp/1738724846_2071492_1334733708_85e95d21c9f93ab437fe881cd78135d7.jpg resize: (1080, 1632) 1334733708 -5.2436719385734465 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.013733386993408203 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.017887115478515625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019874095916748047 save missing photos in datou_result : time spend for datou_step_exec : 13.084419012069702 time spend to save output : 0.056328535079956055 total time spend for step 1 : 13.140747547149658 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.97user 1.78system 0:17.21elapsed 91%CPU (0avgtext+0avgdata 141460maxresident)k 2520inputs+9784outputs (29major+119890minor)pagefaults 0swaps