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 : 4103614 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 : 6905>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/4103614/ 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.3329930305480957 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 Jul 11 18:47:29 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/1752252447_4103614_1371637379_a612d422c6cbe9f7c23e693045dce6b1.jpg resize: (1080, 1632) 1371637379 -5.144819706619675 treat image : temp/1752252447_4103614_1371637347_b4d1ed31227c321868fb462f86b629ac.jpg resize: (1080, 1632) 1371637347 -5.129192632856452 treat image : temp/1752252447_4103614_1371637321_33dd305c29394147420a1eac4a36da07.jpg resize: (1080, 1632) 1371637321 -5.129133342920441 treat image : temp/1752252447_4103614_1371637286_f4e8e5ffabee4a5ca30520d36425f67f.jpg resize: (1080, 1632) 1371637286 -5.103869773080062 treat image : temp/1752252447_4103614_1371637263_a5c86d7b0a91a0412932930b54077141.jpg resize: (1080, 1632) 1371637263 -5.089873647553849 treat image : temp/1752252447_4103614_1371637258_73c6499217831ca3801ad42019033795.jpg resize: (1080, 1632) 1371637258 -5.105576365495149 treat image : temp/1752252447_4103614_1371637240_0c26c5e330c577067b3e8820e56b0935.jpg resize: (1080, 1632) 1371637240 -4.230257874304558 treat image : temp/1752252447_4103614_1371637235_12cb360a812948dcf5dc35f104c3972d.jpg resize: (1080, 1632) 1371637235 -5.699689071522481 treat image : temp/1752252447_4103614_1371637230_1fcbf0364bc6a4715e56102bac0d4464.jpg resize: (1080, 1632) 1371637230 -4.5035640269762265 treat image : temp/1752252447_4103614_1371637228_97be6edddb297b83fd369b25691dd45e.jpg resize: (1080, 1632) 1371637228 -5.700789497384236 treat image : temp/1752252447_4103614_1371637225_bde78ce1012e2c5405bbab7d70035f62.jpg resize: (1080, 1632) 1371637225 -4.260287628846667 treat image : temp/1752252447_4103614_1371637217_1daa1911ebc336b167dc5ef36ab301b7.jpg resize: (1080, 1632) 1371637217 -4.969015169773215 treat image : temp/1752252447_4103614_1371637201_c86968fcc05b6401da173467699714c6.jpg resize: (1080, 1632) 1371637201 -1.0848743179283804 treat image : temp/1752252447_4103614_1371637200_7aa4dd458a03b38e8f7abb18a6485b5f.jpg resize: (1080, 1632) 1371637200 -1.0848743179283804 treat image : temp/1752252447_4103614_1371637196_ccf79a5559741bac25e025998921a813.jpg resize: (1080, 1632) 1371637196 -2.244859304439709 treat image : temp/1752252447_4103614_1371637195_27be788af463346596f29d2dd6443bbf.jpg resize: (1080, 1632) 1371637195 -2.244859304439709 treat image : temp/1752252447_4103614_1371637190_9aea1c04a69cedbc0c546b78b2141c5d.jpg resize: (1080, 1632) 1371637190 -2.8658482553322027 treat image : temp/1752252447_4103614_1371637189_6909f2edaef8198f5d72239eff0e4cec.jpg resize: (1080, 1632) 1371637189 -2.8658482553322027 treat image : temp/1752252447_4103614_1371637185_6bc7fdbb476ba3fed949747ef34b10d4.jpg resize: (1080, 1632) 1371637185 -2.853463154904549 treat image : temp/1752252447_4103614_1371637184_0fdf24f7c5db9e2bdd7d6b3ce334b3d6.jpg resize: (1080, 1632) 1371637184 -2.853463154904549 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.011809110641479492 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.011992692947387695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014170646667480469 save missing photos in datou_result : time spend for datou_step_exec : 16.56201934814453 time spend to save output : 0.043122291564941406 total time spend for step 1 : 16.605141639709473 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 4.32system 0:20.40elapsed 93%CPU (0avgtext+0avgdata 140904maxresident)k 56inputs+8824outputs (5major+255465minor)pagefaults 0swaps