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 : 1490220 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 : 2911>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1490220/ 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.3229970932006836 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 Aug 21 23:52: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/1755813147_1490220_1378353115_0aa05e51bb65d13100b932d11435fcdf.jpg resize: (1080, 1632) 1378353115 -4.306497783354529 treat image : temp/1755813147_1490220_1378353067_9676716abf64ef28f14435d8c17f2bd5.jpg resize: (1080, 1632) 1378353067 -3.9201030184271057 treat image : temp/1755813147_1490220_1378353018_4c67d37836b06ed8e455549ff7913d01.jpg resize: (1080, 1632) 1378353018 -5.841912199220716 treat image : temp/1755813147_1490220_1378352971_b01a027789c6a85c92e2408c371e75cc.jpg resize: (1080, 1632) 1378352971 -4.266299562622918 treat image : temp/1755813147_1490220_1378352925_640554c4488a0e515d78ceb42323688d.jpg resize: (1080, 1632) 1378352925 -5.975972126813264 treat image : temp/1755813147_1490220_1378352877_80d549dc01095ec886d7f25a5119b0b8.jpg resize: (1080, 1632) 1378352877 -5.9820033583236825 treat image : temp/1755813147_1490220_1378352686_7dc1845e98f9c6119e09cbbb79385f5d.jpg resize: (1080, 1632) 1378352686 -5.71388945252142 treat image : temp/1755813147_1490220_1378352636_78413b3a070bb68edfd3a89e0e8c2bdc.jpg resize: (1080, 1632) 1378352636 -4.889402283310909 treat image : temp/1755813147_1490220_1378352587_00cf0d258ade047a69f9f99b73900b7b.jpg resize: (1080, 1632) 1378352587 -5.0947200893139755 treat image : temp/1755813147_1490220_1378352540_9bbc20622ea6da1c7b3104b6a7998e2d.jpg resize: (1080, 1632) 1378352540 -5.1050997564461635 treat image : temp/1755813147_1490220_1378352491_b72ab8204f309d430452ebe6f20924a7.jpg resize: (1080, 1632) 1378352491 -5.578738153632748 treat image : temp/1755813147_1490220_1378352444_eb8356ec038ff4df0fc22eecced1f723.jpg resize: (1080, 1632) 1378352444 -4.258283266142569 treat image : temp/1755813147_1490220_1378351905_dd952cbeb6474d85e0b9237014c4f51d.jpg resize: (1080, 1632) 1378351905 -5.993110727744526 treat image : temp/1755813147_1490220_1378351902_e25915d652aa6bccb09749c81e07b2bb.jpg resize: (1080, 1632) 1378351902 -4.600490009915627 treat image : temp/1755813147_1490220_1378351901_2ee12a52a193d903250a09f2e1f13445.jpg resize: (1080, 1632) 1378351901 -1.1539135605262736 treat image : temp/1755813147_1490220_1378351897_2358dfcbbb9edd04bc275d3c45b2f04c.jpg resize: (1080, 1632) 1378351897 -3.3239771588290212 treat image : temp/1755813147_1490220_1378351883_fa39e146d7df66ed5a5623ea1cc54e04.jpg resize: (1080, 1632) 1378351883 -1.369403197083191 treat image : temp/1755813147_1490220_1378351881_4b7c5189fee57e83a4a3a3ff4c6e4d55.jpg resize: (1080, 1632) 1378351881 -0.6286470874996487 treat image : temp/1755813147_1490220_1378351880_0441679dab35b94ab91c357dd59389fb.jpg resize: (1080, 1632) 1378351880 -4.1968012969218975 treat image : temp/1755813147_1490220_1378351878_887299ea7b27f920fc7768ee5332b432.jpg resize: (1080, 1632) 1378351878 -5.175337877320311 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.014780044555664062 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.012889385223388672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015109777450561523 save missing photos in datou_result : time spend for datou_step_exec : 16.261048793792725 time spend to save output : 0.047385454177856445 total time spend for step 1 : 16.30843424797058 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 4.05system 0:20.51elapsed 90%CPU (0avgtext+0avgdata 138252maxresident)k 48inputs+9376outputs (5major+256940minor)pagefaults 0swaps