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 : 1327124 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 : 2428>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1327124/ 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.4361820220947266 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 Tue Sep 9 15:32: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/1757424747_1327124_1382780376_e9d59e712db81fa8bd1b932c79553754.jpg resize: (1080, 1632) 1382780376 -6.137505620282327 treat image : temp/1757424747_1327124_1382780374_649658668d3e92c5b049042e74ec5289.jpg resize: (1080, 1632) 1382780374 -4.329081128702634 treat image : temp/1757424747_1327124_1382780344_e720629645a4edae76ab9be83c71afbe.jpg resize: (1080, 1632) 1382780344 -2.6227163691290185 treat image : temp/1757424747_1327124_1382780342_1436112f8ad5a1847446eba1c00b04c3.jpg resize: (1080, 1632) 1382780342 -1.4887008901474719 treat image : temp/1757424747_1327124_1382780339_c9e63f439d904155f577a6431e46c472.jpg resize: (1080, 1632) 1382780339 -2.56234729036006 treat image : temp/1757424747_1327124_1382780337_fe2f714d8a3385ea90048cf5c19270fb.jpg resize: (1080, 1632) 1382780337 -1.8467034461142444 treat image : temp/1757424747_1327124_1382780333_0bf8641b909e2937d4c53295c3e47316.jpg resize: (1080, 1632) 1382780333 -5.0451023865050555 treat image : temp/1757424747_1327124_1382780317_2519717afd580f324c0f7a74a9b1f9f1.jpg resize: (1080, 1632) 1382780317 -3.138367231222011 treat image : temp/1757424747_1327124_1382780312_6195d924f5dc2aacfe27472dfbb8ac3a.jpg resize: (1080, 1632) 1382780312 -4.560159146305429 treat image : temp/1757424747_1327124_1382780308_8e88fa0b3b5c2413ad8b30fac6dba389.jpg resize: (1080, 1632) 1382780308 -6.13580363411649 treat image : temp/1757424747_1327124_1382780305_cfd7d17cb15dd80158c3b90eade1e162.jpg resize: (1080, 1632) 1382780305 -5.678267462325659 treat image : temp/1757424747_1327124_1382780302_e5b9f490305eef90261e848e57369ce4.jpg resize: (1080, 1632) 1382780302 -4.299653163990101 treat image : temp/1757424747_1327124_1382780299_d7b75b00e6aab26a176816fb19a96f88.jpg resize: (1080, 1632) 1382780299 -5.764809884043179 treat image : temp/1757424747_1327124_1382780289_ed39f783b6e35b9c0b9b4d80fa8adfd9.jpg resize: (1080, 1632) 1382780289 -3.646848073002033 treat image : temp/1757424747_1327124_1382780287_477a2ca2a070f1cf3ecee0c51b93a62c.jpg resize: (1080, 1632) 1382780287 -5.571820095043954 treat image : temp/1757424747_1327124_1382780285_b365aff6b8f8c26fb486cba1788b33ee.jpg resize: (1080, 1632) 1382780285 -5.33433191225258 treat image : temp/1757424747_1327124_1382780279_a58d0850ba8b1bdfd46f7df9ab1efcfc.jpg resize: (1080, 1632) 1382780279 -2.1682128269251684 treat image : temp/1757424747_1327124_1382780277_4b4f486e82b97215f7f7039f544c636d.jpg resize: (1080, 1632) 1382780277 -1.5502889874828476 treat image : temp/1757424747_1327124_1382780270_f0cf494e826737100aad2441f1d422de.jpg resize: (1080, 1632) 1382780270 -2.971152440949923 treat image : temp/1757424747_1327124_1382780269_7d20db30cb007d299023069307746d64.jpg resize: (1080, 1632) 1382780269 -1.3607093388153315 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.04177713394165039 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.04215645790100098 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04218339920043945 save missing photos in datou_result : time spend for datou_step_exec : 14.63834810256958 time spend to save output : 0.14597725868225098 total time spend for step 1 : 14.784325361251831 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.02system 0:19.75elapsed 86%CPU (0avgtext+0avgdata 138356maxresident)k 8inputs+9144outputs (16major+257266minor)pagefaults 0swaps