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 : 2151283 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 : 6598>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/2151283/ 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.456857681274414 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:42:31 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/1754084548_2151283_1374835228_89e3dc1ccce56965b3bf5130fe26e3ea.jpg resize: (1080, 1632) 1374835228 -4.022740003965011 treat image : temp/1754084548_2151283_1374835227_a8337c1e8c2f3ed9833dbe57a08053ed.jpg resize: (1080, 1632) 1374835227 -5.640082192104704 treat image : temp/1754084548_2151283_1374835225_5e790c6bb6b5d20f71cfc8a6538a1d2a.jpg resize: (1080, 1632) 1374835225 -5.617074461302329 treat image : temp/1754084548_2151283_1374835223_56a021b2e117ac2d5d83ef333d81b8a1.jpg resize: (1080, 1632) 1374835223 -5.673770802546444 treat image : temp/1754084548_2151283_1374835219_612eb314fa16ff4a0889798b6aef7e8c.jpg resize: (1080, 1632) 1374835219 -3.2317225134905 treat image : temp/1754084548_2151283_1374835216_ad2bf17490aedf4bf1e51ab1b972085c.jpg resize: (1080, 1632) 1374835216 -1.1350266609113022 treat image : temp/1754084548_2151283_1374835113_2480a050c53e2ac1819acd4cb86239ab.jpg resize: (1080, 1632) 1374835113 -6.366684252392545 treat image : temp/1754084548_2151283_1374835110_fe95b3519923230f1348d116eea399f8.jpg resize: (1080, 1632) 1374835110 -6.080476368710557 treat image : temp/1754084548_2151283_1374835108_d4fb37f157c7a9fa9a96ea29f20c9392.jpg resize: (1080, 1632) 1374835108 -5.946085538180937 treat image : temp/1754084548_2151283_1374835107_338deeb07c9f70a45594bbc78e064309.jpg resize: (1080, 1632) 1374835107 -4.87869376119076 treat image : temp/1754084548_2151283_1374835048_0b8eb1ddd3bfbe41daf100883ff8f200.jpg resize: (1080, 1632) 1374835048 -5.373738001426379 treat image : temp/1754084548_2151283_1374835039_24e9ec451bcd40715ac11bf18a33c586.jpg resize: (1080, 1632) 1374835039 -5.657256809226923 treat image : temp/1754084548_2151283_1374835012_d570c0113870a3c77d791af0eeeb5c7d.jpg resize: (1080, 1632) 1374835012 -5.493585015168205 treat image : temp/1754084548_2151283_1374834985_84108181659c43af49df433edf976ff6.jpg resize: (1080, 1632) 1374834985 -5.681962368934019 treat image : temp/1754084548_2151283_1374834960_fef22dad582dfa2c2924f41b725d877a.jpg resize: (1080, 1632) 1374834960 -5.307348618608929 treat image : temp/1754084548_2151283_1374834949_c5d25ff07b7ebb3670bb5796c9e5bb8a.jpg resize: (1080, 1632) 1374834949 -5.614465334119567 treat image : temp/1754084548_2151283_1374834845_1abfc5f84c77b340eb853940479cb60c.jpg resize: (1080, 1632) 1374834845 -5.696777894660305 treat image : temp/1754084548_2151283_1374834844_c927137bf14c2e02cde091ee13d435a8.jpg resize: (1080, 1632) 1374834844 -4.340228066104342 treat image : temp/1754084548_2151283_1374834842_692968fbcffaf7dfa8ee02031aba1f5d.jpg resize: (1080, 1632) 1374834842 -2.111272017883491 treat image : temp/1754084548_2151283_1374834817_8fb8b1a93cf632ceb3b51fc38f0c8734.jpg resize: (1080, 1632) 1374834817 -3.0055235078455684 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.01648259162902832 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.014946222305297852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0171201229095459 save missing photos in datou_result : time spend for datou_step_exec : 14.80856990814209 time spend to save output : 0.05309653282165527 total time spend for step 1 : 14.861666440963745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.29system 0:20.91elapsed 82%CPU (0avgtext+0avgdata 139424maxresident)k 32inputs+9944outputs (2major+256755minor)pagefaults 0swaps