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 : 435209 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 : 815>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/435209/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.079637289047241 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 Aug 12 08:02: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/1754978547_435209_1376566409_085cc1d7363666fb96de161e9e50b701.jpg resize: (1080, 1632) 1376566409 -5.106646890423222 treat image : temp/1754978547_435209_1376566349_542e11bed7c594e765f86433a1dc94f9.jpg resize: (1080, 1632) 1376566349 -4.628044652635942 treat image : temp/1754978547_435209_1376566316_b439cc375380b7d4d802026fa2663505.jpg resize: (1080, 1632) 1376566316 -5.073166222461674 treat image : temp/1754978547_435209_1376566277_95b000f34b03b2613d365d2cebf8ab71.jpg resize: (1080, 1632) 1376566277 -5.334135713905058 treat image : temp/1754978547_435209_1376565648_3b370ac38bc1ce856dafb3be6777f219.jpg resize: (1080, 1632) 1376565648 -1.8974916406165512 treat image : temp/1754978547_435209_1376565623_bce417c2978fc0a38d39a816249a3d13.jpg resize: (1080, 1632) 1376565623 -2.8848615450044006 treat image : temp/1754978547_435209_1376565569_af25ffdc5dd58ee986c23d3ef56bb94a.jpg resize: (1080, 1632) 1376565569 -5.597505924184173 treat image : temp/1754978547_435209_1376565538_ef24550a821625c4c249736f290b5f24.jpg resize: (1080, 1632) 1376565538 -4.965771103697224 treat image : temp/1754978547_435209_1376565490_d05a7c9ff29215b929bf2a15248c1b9e.jpg resize: (1080, 1632) 1376565490 -5.107862478525068 treat image : temp/1754978547_435209_1376565196_f9f8816684933815313c61b000368d02.jpg resize: (1080, 1632) 1376565196 -5.046370393254511 treat image : temp/1754978547_435209_1376565124_d2e754ac812bafdd9661d20c6ae6c73c.jpg resize: (1080, 1632) 1376565124 -4.916121993544542 treat image : temp/1754978547_435209_1376565072_79413266563259b858abebe61c93a032.jpg resize: (1080, 1632) 1376565072 -5.41133922381928 treat image : temp/1754978547_435209_1376564899_5b2e3f3cec6361a0c1ca4a926021be0e.jpg resize: (1080, 1632) 1376564899 -5.62368768791758 treat image : temp/1754978547_435209_1376564853_4b83dc0dae9db5a1d76aed5f287c244e.jpg resize: (1080, 1632) 1376564853 -5.614629921845563 treat image : temp/1754978547_435209_1376564795_61e795f2b5520230643408d2be14ab6f.jpg resize: (1080, 1632) 1376564795 -4.940525583158856 treat image : temp/1754978547_435209_1376564746_c1615033d819b7f978b39f8b786f09b9.jpg resize: (1080, 1632) 1376564746 -6.0941328344376515 treat image : temp/1754978547_435209_1376564684_333d00ebc43e2442400751480c657479.jpg resize: (1080, 1632) 1376564684 -5.522666164332392 treat image : temp/1754978547_435209_1376564632_6a77ff5a125bf1c19455542f6ff0ea77.jpg resize: (1080, 1632) 1376564632 -1.3102078988100667 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 : 18 time used for this insertion : 0.015597105026245117 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.10187411308288574 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.1079556941986084 save missing photos in datou_result : time spend for datou_step_exec : 14.791790008544922 time spend to save output : 0.23074102401733398 total time spend for step 1 : 15.022531032562256 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.33user 3.95system 0:19.70elapsed 87%CPU (0avgtext+0avgdata 138284maxresident)k 136inputs+8712outputs (5major+232575minor)pagefaults 0swaps