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 : 2177997 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 : 6634>100 please execute split_portfolio.py -i 25117783 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3312460'] with mtr_portfolio_ids : ['25117783'] and first list_photo_ids : [] new path : /proc/2177997/ 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.2182435989379883 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 Fri Aug 1 23:57: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/1754085448_2177997_1374835590_795f93a08f160f69f083f130c5177e43.jpg resize: (1080, 1632) 1374835590 -5.6504714217588825 treat image : temp/1754085448_2177997_1374835589_991c3aa5d7045b7eceea7086a63c22cf.jpg resize: (1080, 1632) 1374835589 -2.642739480303983 treat image : temp/1754085448_2177997_1374835587_e4c5baf6965ca8d986a7cba392759117.jpg resize: (1080, 1632) 1374835587 -1.036837258080976 treat image : temp/1754085448_2177997_1374835581_111f40dd0b6b5bfefaa5276bf3050c26.jpg resize: (1080, 1632) 1374835581 -2.2234478087709104 treat image : temp/1754085448_2177997_1374835579_71dcce511c80f8a2abb1eda30609eb1d.jpg resize: (1080, 1632) 1374835579 -1.4109541794579674 treat image : temp/1754085448_2177997_1374835577_3d15c1ff7346a3c267e21d0e8e32c2b2.jpg resize: (1080, 1632) 1374835577 -2.1800744736788458 treat image : temp/1754085448_2177997_1374835565_9715592d58a13865dceb163a163c7438.jpg resize: (1080, 1632) 1374835565 -2.2912675075500117 treat image : temp/1754085448_2177997_1374835563_fc0573d7fd52cbc040ffb460e29f140c.jpg resize: (1080, 1632) 1374835563 -5.118380701582548 treat image : temp/1754085448_2177997_1374835560_1dc5648c21e263e4cd2ebea4811a53de.jpg resize: (1080, 1632) 1374835560 -4.944316320933536 treat image : temp/1754085448_2177997_1374835556_30e27f8f29b99b7b0cc4e5dcbcfe0176.jpg resize: (1080, 1632) 1374835556 -4.8685447424459065 treat image : temp/1754085448_2177997_1374835554_04567ab4b8a23284efdaf82c1b259fa7.jpg resize: (1080, 1632) 1374835554 -5.049379511488042 treat image : temp/1754085448_2177997_1374835552_b8ac191440aafbec6c0237c740f9f8bc.jpg resize: (1080, 1632) 1374835552 -1.0875584244132406 treat image : temp/1754085448_2177997_1374835547_a8e7a27c7d95adc2bcb70f7416ecc24a.jpg resize: (1080, 1632) 1374835547 -5.74057677427505 treat image : temp/1754085448_2177997_1374835546_6a2fc97e7c8938e96c268e69ba033c75.jpg resize: (1080, 1632) 1374835546 -5.7179924372729936 treat image : temp/1754085448_2177997_1374835544_f130e4cffbfd18218c189c9a68fc5569.jpg resize: (1080, 1632) 1374835544 -4.623110302514246 treat image : temp/1754085448_2177997_1374835540_5bb0d3bbf606e7c6e55eacfbd5cc919e.jpg resize: (1080, 1632) 1374835540 -5.348264309394807 treat image : temp/1754085448_2177997_1374835538_1ba1a2e2f36b866daf998926f9aa17f7.jpg resize: (1080, 1632) 1374835538 -5.600741154542795 treat image : temp/1754085448_2177997_1374835536_c8711dafad52f08bade879a81bf231fa.jpg resize: (1080, 1632) 1374835536 -5.655699666462034 treat image : temp/1754085448_2177997_1374835529_537bb996b720206f833aa9d7528a8cea.jpg resize: (1080, 1632) 1374835529 -5.530609596591288 treat image : temp/1754085448_2177997_1374835524_93ea3a499218e345c14d3cc5ec3c5e47.jpg resize: (1080, 1632) 1374835524 -5.4873894331502 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.011751890182495117 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.011978864669799805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015094995498657227 save missing photos in datou_result : time spend for datou_step_exec : 14.905024766921997 time spend to save output : 0.04363584518432617 total time spend for step 1 : 14.948660612106323 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.86user 3.47system 0:19.71elapsed 87%CPU (0avgtext+0avgdata 140204maxresident)k 48inputs+9296outputs (2major+256912minor)pagefaults 0swaps