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 : 771213 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 : 8583>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/771213/ 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 : 4.4417033195495605 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 10:17: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/1754036248_771213_1374640198_6ecbcceac035b7f3aa3124008cc73c1a.jpg resize: (1080, 1632) 1374640198 -6.3339483270220365 treat image : temp/1754036248_771213_1374640197_8ac20686d215d0bff92d3e2221ce6452.jpg resize: (1080, 1632) 1374640197 -5.82881939459181 treat image : temp/1754036248_771213_1374640195_ef8f98cb8d0ae46019396dfb7a5d93f2.jpg resize: (1080, 1632) 1374640195 -3.155859769173923 treat image : temp/1754036248_771213_1374640193_27431938e48658d14b1c18223a51348f.jpg resize: (1080, 1632) 1374640193 -2.823686161533352 treat image : temp/1754036248_771213_1374640172_4d8292e842cc047462cae542608c966c.jpg resize: (1080, 1632) 1374640172 -4.470067369332252 treat image : temp/1754036248_771213_1374640170_ef70944159546450785655863e31fd84.jpg resize: (1080, 1632) 1374640170 -5.510149069673542 treat image : temp/1754036248_771213_1374640169_921d4a6fa666c1cfa77e29748701033b.jpg resize: (1080, 1632) 1374640169 -5.387945555309942 treat image : temp/1754036248_771213_1374640166_5e8bb6979d69f856141cfcb0692a808a.jpg resize: (1080, 1632) 1374640166 -4.659637837087716 treat image : temp/1754036248_771213_1374640163_d9f6556b273090814c63bb886dc2960a.jpg resize: (1080, 1632) 1374640163 -4.978176300198346 treat image : temp/1754036248_771213_1374640161_6ece57b0c08edff49c6e3e877950c602.jpg resize: (1080, 1632) 1374640161 -5.285809073396715 treat image : temp/1754036248_771213_1374639924_91324a9070eb09c989a36146cab4ca79.jpg resize: (1080, 1632) 1374639924 -3.245770918026394 treat image : temp/1754036248_771213_1374639923_13b699c5523c4bf1fcb480127f8a7399.jpg resize: (1080, 1632) 1374639923 -5.691506790072914 treat image : temp/1754036248_771213_1374639922_4992f738163d1faf4622ea8b896936ec.jpg resize: (1080, 1632) 1374639922 -5.75503965278822 treat image : temp/1754036248_771213_1374639883_2df7e61230ad1f344a2091db2324d2d0.jpg resize: (1080, 1632) 1374639883 -4.8347237844560516 treat image : temp/1754036248_771213_1374639879_0af277d7b038580fc4e5fcfca900f614.jpg resize: (1080, 1632) 1374639879 -5.0524074639438 treat image : temp/1754036248_771213_1374639877_1fbc85a46d7eb8c3446fb6e3a67bceda.jpg resize: (1080, 1632) 1374639877 -3.6239279146763357 treat image : temp/1754036248_771213_1374639875_915eae24050ba0bfa3e89b12dac1e56a.jpg resize: (1080, 1632) 1374639875 -4.562130278585469 treat image : temp/1754036248_771213_1374639871_461ea4dc7c0d597b994bf376143841fa.jpg resize: (1080, 1632) 1374639871 -4.753964582437157 treat image : temp/1754036248_771213_1374639867_79352c82afe2010f3458792f9ff74a91.jpg resize: (1080, 1632) 1374639867 -3.757573907161431 treat image : temp/1754036248_771213_1374639864_83413723e3765c0af145e3696537000d.jpg resize: (1080, 1632) 1374639864 -4.6510316468716 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.016391754150390625 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.019903182983398438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01803755760192871 save missing photos in datou_result : time spend for datou_step_exec : 17.69779944419861 time spend to save output : 0.05901908874511719 total time spend for step 1 : 17.756818532943726 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 5.73system 0:23.81elapsed 84%CPU (0avgtext+0avgdata 139572maxresident)k 8904inputs+9696outputs (58major+250160minor)pagefaults 0swaps