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 : 3532411 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 : 2964>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3532411/ 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.4147298336029053 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 May 20 19:07: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/1747760847_3532411_1359844401_110d61a5a35f14846320e4043e6d0ed7.jpg resize: (1080, 1632) 1359844401 -1.7926666211532498 treat image : temp/1747760847_3532411_1359844400_9e8f77aa8db72a2a5bab037e7780f272.jpg resize: (1080, 1632) 1359844400 -1.7410659944267977 treat image : temp/1747760847_3532411_1359844396_562dfb47c2472b099b34be19bf9dceac.jpg resize: (1080, 1632) 1359844396 -2.6094223271894275 treat image : temp/1747760847_3532411_1359844392_c22351952cbc7142010def335e830cad.jpg resize: (1080, 1632) 1359844392 -4.448520611770754 treat image : temp/1747760847_3532411_1359844389_71adbd3f36621f70e1a11deb6fd8a893.jpg resize: (1080, 1632) 1359844389 -4.854047167132345 treat image : temp/1747760847_3532411_1359844352_4368a78dbce92bdc2e4ad201741f0f2c.jpg resize: (1080, 1632) 1359844352 -4.9221893861251536 treat image : temp/1747760847_3532411_1359844349_22133568a2bbb46a12dee064d0a0443f.jpg resize: (1080, 1632) 1359844349 -6.127774740437863 treat image : temp/1747760847_3532411_1359844346_d56d51015b2d8acf76f511723d899bc3.jpg resize: (1080, 1632) 1359844346 -3.173497784461209 treat image : temp/1747760847_3532411_1359844344_f18a2dd2fca47bb572bf072f8e4b7469.jpg resize: (1080, 1632) 1359844344 -0.31153231749469557 treat image : temp/1747760847_3532411_1359844311_390c94ec0650f705577a6f9b7e223dca.jpg resize: (1080, 1632) 1359844311 -5.207163436544762 treat image : temp/1747760847_3532411_1359844308_30bbf7b434377a0360c4c8cb6f48f51d.jpg resize: (1080, 1632) 1359844308 -4.901784621156665 treat image : temp/1747760847_3532411_1359844304_1663563dc72670e7dfa98ca1db62533f.jpg resize: (1080, 1632) 1359844304 -5.0198998301864926 treat image : temp/1747760847_3532411_1359844300_8b3c6dfae37077196c04520f526d569d.jpg resize: (1080, 1632) 1359844300 -2.845368328879481 treat image : temp/1747760847_3532411_1359844296_6fd137efe3724bc01501ece299918b67.jpg resize: (1080, 1632) 1359844296 -5.679923783047417 treat image : temp/1747760847_3532411_1359844265_3d55390fd6f4eda2c6d200394f39549d.jpg resize: (1080, 1632) 1359844265 -5.183370773748225 treat image : temp/1747760847_3532411_1359844263_bec1b4951e7ef118c784ac5d7992b59f.jpg resize: (1080, 1632) 1359844263 -4.92531097198289 treat image : temp/1747760847_3532411_1359844260_7f24d63fada2de2b4dbac004b64dc670.jpg resize: (1080, 1632) 1359844260 -5.02817282455491 treat image : temp/1747760847_3532411_1359844256_ea3a66f0c35c9b7283cfc5dc6dc16bd0.jpg resize: (1080, 1632) 1359844256 -2.3669468269873413 treat image : temp/1747760847_3532411_1359844222_da33f292562c5bcda913c197df0267e9.jpg resize: (1080, 1632) 1359844222 -1.4286251099599676 treat image : temp/1747760847_3532411_1359844219_133e68853c755288f5a8683283aef877.jpg resize: (1080, 1632) 1359844219 -2.01937810365174 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.012711763381958008 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.011886358261108398 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015223503112792969 save missing photos in datou_result : time spend for datou_step_exec : 16.100594758987427 time spend to save output : 0.04502129554748535 total time spend for step 1 : 16.145616054534912 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 4.27system 0:20.76elapsed 89%CPU (0avgtext+0avgdata 136884maxresident)k 160inputs+8408outputs (9major+259597minor)pagefaults 0swaps