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 : 3619856 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 : 1008>100 please execute split_portfolio.py -i 26046294 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551387'] with mtr_portfolio_ids : ['26046294'] and first list_photo_ids : [] new path : /proc/3619856/ 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.1456334590911865 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 Mon Aug 18 13:32:28 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/1755516746_3619856_1377701311_3bc25b9f68eaa803a03abc10301a638b.jpg resize: (1080, 1632) 1377701311 -1.6708436365756743 treat image : temp/1755516746_3619856_1377701309_631cb7c30f3fb5eea4e3bc50fe6b4d84.jpg resize: (1080, 1632) 1377701309 -2.945571766402256 treat image : temp/1755516746_3619856_1377701307_baaed28392161c0f9661549cdd13892c.jpg resize: (1080, 1632) 1377701307 -4.196980611553085 treat image : temp/1755516746_3619856_1377701305_5ace5e336a973aa279b3408d78f29cff.jpg resize: (1080, 1632) 1377701305 -5.045567076701573 treat image : temp/1755516746_3619856_1377701301_f9a909079e5e91aae0494e06ff46eaa4.jpg resize: (1080, 1632) 1377701301 -5.934141648614126 treat image : temp/1755516746_3619856_1377701300_732d3b88b0e7695efae6b29db230c29e.jpg resize: (1080, 1632) 1377701300 -5.480854291795531 treat image : temp/1755516746_3619856_1377701290_2e3eb6e917b2584bbfcee922a7e632b0.jpg resize: (1080, 1632) 1377701290 -5.415455071347731 treat image : temp/1755516746_3619856_1377701285_07041d9f57837d3132762ff96c563c12.jpg resize: (1080, 1632) 1377701285 -4.336306346296695 treat image : temp/1755516746_3619856_1377701281_c23e29e13e5506e042ff6c58da9e3aac.jpg resize: (1080, 1632) 1377701281 -5.289139210605507 treat image : temp/1755516746_3619856_1377701278_5d5cefb9077bf79da1010fe9d9e1398f.jpg resize: (1080, 1632) 1377701278 -5.685999491359886 treat image : temp/1755516746_3619856_1377701276_40ddaf873536574a4e09f7356339765c.jpg resize: (1080, 1632) 1377701276 -5.429933968194369 treat image : temp/1755516746_3619856_1377701274_b7ca05d12901fc845953422a2adf2244.jpg resize: (1080, 1632) 1377701274 -4.7396861776009915 treat image : temp/1755516746_3619856_1377701269_230990ec23a79fa68666bd1186f5d539.jpg resize: (1080, 1632) 1377701269 -5.358024224675691 treat image : temp/1755516746_3619856_1377701266_2cb0542f45b3e2048c0802298c807986.jpg resize: (1080, 1632) 1377701266 -5.358024224675691 treat image : temp/1755516746_3619856_1377701264_b93c8f141e23827c709ca4daaa453441.jpg resize: (1080, 1632) 1377701264 -4.864873791965183 treat image : temp/1755516746_3619856_1377701262_4f595913fa5baf55d10a1aa89119de40.jpg resize: (1080, 1632) 1377701262 -4.864873791965183 treat image : temp/1755516746_3619856_1377701259_b3b001c3eaf183f94aafa08cd0b8dfbc.jpg resize: (1080, 1632) 1377701259 -4.581653630265098 treat image : temp/1755516746_3619856_1377701258_49cdef92d66798f69567a3db3326e7ef.jpg resize: (1080, 1632) 1377701258 -4.581653630265098 treat image : temp/1755516746_3619856_1377701255_b44f2b42c15ad2cbe69355798ab02502.jpg resize: (1080, 1632) 1377701255 -4.927538653532688 treat image : temp/1755516746_3619856_1377701254_f7e2cd69fa5bfdfafadd402a558c4707.jpg resize: (1080, 1632) 1377701254 -4.927538653532688 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.013347625732421875 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.011926889419555664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014167070388793945 save missing photos in datou_result : time spend for datou_step_exec : 14.739638090133667 time spend to save output : 0.044137001037597656 total time spend for step 1 : 14.783775091171265 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.38system 0:18.39elapsed 94%CPU (0avgtext+0avgdata 139960maxresident)k 1960inputs+9496outputs (13major+233089minor)pagefaults 0swaps