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 : 3850512 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3850512/ 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 : 3.4966025352478027 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 18 19:12: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/1752858747_3850512_1372321239_efb9afbd30fffb077b22dd4ee4b1411b.jpg resize: (1080, 1632) 1372321239 -5.225854012905104 treat image : temp/1752858747_3850512_1372321237_c165586d637b2872e13ad879dda62382.jpg resize: (1080, 1632) 1372321237 -5.397418646540648 treat image : temp/1752858747_3850512_1372321236_11a21b1ea4134a549529f4856900a247.jpg resize: (1080, 1632) 1372321236 -5.4594825046422795 treat image : temp/1752858747_3850512_1372321235_09858e23a10b12e1977862f1d47e2ff8.jpg resize: (1080, 1632) 1372321235 -4.604139079001003 treat image : temp/1752858747_3850512_1372321221_cd909c8d1c575bba9e3ca1a4c62f950f.jpg resize: (1080, 1632) 1372321221 -2.426078620683604 treat image : temp/1752858747_3850512_1372321217_7212aa4617b8597cb945e1ec9c755b6f.jpg resize: (1080, 1632) 1372321217 -2.613089888764968 treat image : temp/1752858747_3850512_1372321212_9bcc4a6d9bc9856de9211f3d003ef63d.jpg resize: (1080, 1632) 1372321212 -3.9920128812975837 treat image : temp/1752858747_3850512_1372321209_8b49a220e44586ffe48bd88fac56d649.jpg resize: (1080, 1632) 1372321209 -5.421128482581832 treat image : temp/1752858747_3850512_1372321208_84ebb596fb46badd4f01cd412bc21f73.jpg resize: (1080, 1632) 1372321208 -3.7166055416209556 treat image : temp/1752858747_3850512_1372321206_13dd729e69970971d34eef8fcfd068fc.jpg resize: (1080, 1632) 1372321206 -5.835152252649092 treat image : temp/1752858747_3850512_1372321188_b9b7aa539799367b2cf45a3fb6bd7162.jpg resize: (1080, 1632) 1372321188 -5.550743509222604 treat image : temp/1752858747_3850512_1372321183_9dd4ed341f9e414ebf346c83fbfea337.jpg resize: (1080, 1632) 1372321183 -3.781328381239028 treat image : temp/1752858747_3850512_1372321178_34a62c00514a7a3ed74ef2b722b7fbbc.jpg resize: (1080, 1632) 1372321178 -5.588041317179727 treat image : temp/1752858747_3850512_1372321172_bc5c5b9ae2e6f0d8ecf37891900690a2.jpg resize: (1080, 1632) 1372321172 -3.9660938670811 treat image : temp/1752858747_3850512_1372321169_15cb022d1315de61c49efcf35b25ed3f.jpg resize: (1080, 1632) 1372321169 -1.6581339207293602 treat image : temp/1752858747_3850512_1372321166_dc615825e603a71ad102f535232a3d66.jpg resize: (1080, 1632) 1372321166 -2.4730091662366416 treat image : temp/1752858747_3850512_1372321152_75072771794fe072d3880097aeca9ef7.jpg resize: (1080, 1632) 1372321152 -5.573536571164383 treat image : temp/1752858747_3850512_1372321149_9a715d1efe1ac2dc930933f7f85b1ba9.jpg resize: (1080, 1632) 1372321149 20.0 treat image : temp/1752858747_3850512_1372321147_6abf01c5329b2a18283acaa8890ae66d.jpg resize: (1080, 1632) 1372321147 -4.8877426901321925 treat image : temp/1752858747_3850512_1372321144_d9941ea5a870b7f8c85bb05a9dcc4ecc.jpg resize: (1080, 1632) 1372321144 -5.359897175997123 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.013725519180297852 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.012943267822265625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01304006576538086 save missing photos in datou_result : time spend for datou_step_exec : 20.717708587646484 time spend to save output : 0.04448270797729492 total time spend for step 1 : 20.76219129562378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.21user 8.95system 0:27.01elapsed 85%CPU (0avgtext+0avgdata 139372maxresident)k 320inputs+9056outputs (0major+254091minor)pagefaults 0swaps