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 : 1755855 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 : 2921>100 please execute split_portfolio.py -i 26734743 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3691860'] with mtr_portfolio_ids : ['26734743'] and first list_photo_ids : [] new path : /proc/1755855/ 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.8129496574401855 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 Thu Sep 11 17:47: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/1757605648_1755855_1383283702_2d1d7ed857c860577a4c56fbbc606ef7.jpg resize: (1080, 1632) 1383283702 -3.4944294228887087 treat image : temp/1757605648_1755855_1383283302_6f5b912e0fbd39e392fdf0ccfa4d4caf.jpg resize: (1080, 1632) 1383283302 -4.9727600706691915 treat image : temp/1757605648_1755855_1383283299_54ba52676150607a259711823c5c11b4.jpg resize: (1080, 1632) 1383283299 -4.8496194857984385 treat image : temp/1757605648_1755855_1383283294_a364e7ab992e8c0d13030ee45f927f31.jpg resize: (1080, 1632) 1383283294 -5.693463448365261 treat image : temp/1757605648_1755855_1383283289_096b3384e54d441785ef7a87c82edb8e.jpg resize: (1080, 1632) 1383283289 -4.0395796174443666 treat image : temp/1757605648_1755855_1383283284_5558e4628b2b9a6314e367b4ac79a789.jpg resize: (1080, 1632) 1383283284 -5.432326282514234 treat image : temp/1757605648_1755855_1383283277_79c075df3f4949648f9952b6fa6f040e.jpg resize: (1080, 1632) 1383283277 -3.5193121321474616 treat image : temp/1757605648_1755855_1383283273_87b86443916c9b6c17ac74cccf830af6.jpg resize: (1080, 1632) 1383283273 -1.3235443698214338 treat image : temp/1757605648_1755855_1383283269_08ad0061e11ffdef69df1cb66ce7b0e0.jpg resize: (1080, 1632) 1383283269 -1.76221017845462 treat image : temp/1757605648_1755855_1383283265_a3969b6f914418de1ec23d3414598376.jpg resize: (1080, 1632) 1383283265 -5.308285541616214 treat image : temp/1757605648_1755855_1383283261_3bcef7cc057902ba8e4150c666c85358.jpg resize: (1080, 1632) 1383283261 -5.2206751618502905 treat image : temp/1757605648_1755855_1383283256_0e578a8791e7de223e13ff53b5d2bb6f.jpg resize: (1080, 1632) 1383283256 -3.6743905344503 treat image : temp/1757605648_1755855_1383283246_1a55a0c57a415bb9f3ca369a4a05f773.jpg resize: (1080, 1632) 1383283246 -4.735395285944211 treat image : temp/1757605648_1755855_1383283245_b60eeef80e65a940c361d01b14d432d8.jpg resize: (1080, 1632) 1383283245 -4.735395285944211 treat image : temp/1757605648_1755855_1383283242_bd54d23ca6201a8f7daecc2db4ebab9d.jpg resize: (1080, 1632) 1383283242 -5.0654769999861395 treat image : temp/1757605648_1755855_1383283240_fe804b7ef462cdbf74fc15a9f04425b4.jpg resize: (1080, 1632) 1383283240 -5.0654769999861395 treat image : temp/1757605648_1755855_1383283237_d014f1860f4c8f9933bdd7f495942653.jpg resize: (1080, 1632) 1383283237 -5.143497168800095 treat image : temp/1757605648_1755855_1383283236_1e78d02c57ac20df7cc5b25b2495c68b.jpg resize: (1080, 1632) 1383283236 -5.143497168800095 treat image : temp/1757605648_1755855_1383283232_6f2f674a198a7aca3411da2fbfdf5cc1.jpg resize: (1080, 1632) 1383283232 -4.075299341437729 treat image : temp/1757605648_1755855_1383283231_685985e551a05e42781204eb3ca04300.jpg resize: (1080, 1632) 1383283231 -4.075299341437729 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.03896641731262207 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.03996562957763672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04158306121826172 save missing photos in datou_result : time spend for datou_step_exec : 16.095531940460205 time spend to save output : 0.13974714279174805 total time spend for step 1 : 16.235279083251953 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.56user 4.15system 0:21.21elapsed 88%CPU (0avgtext+0avgdata 143436maxresident)k 3952inputs+9512outputs (79major+258085minor)pagefaults 0swaps