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 : 593985 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 : 3516>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/593985/ 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 : 4.368350028991699 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 Mar 21 17:42:32 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/1742575350_593985_1346099315_fb319e22442f1c6b3737d29a8257f790.jpg resize: (1080, 1632) 1346099315 -6.159755732049363 treat image : temp/1742575350_593985_1346099253_eeac7250979f362d07850d244c68e796.jpg resize: (1080, 1632) 1346099253 -6.399106120329496 treat image : temp/1742575350_593985_1346099181_a6231a5bd928afef75ccdf092819eed2.jpg resize: (1080, 1632) 1346099181 -2.705291276135421 treat image : temp/1742575350_593985_1346099148_d1df44904889acf1466135f2b8bf4441.jpg resize: (1080, 1632) 1346099148 -4.6970248934136505 treat image : temp/1742575350_593985_1346099070_547a7e74bb3eefd1e76cd6ddb56ef4c7.jpg resize: (1080, 1632) 1346099070 -5.687544393779076 treat image : temp/1742575350_593985_1346099056_de00c26aecb1a70f76aa0a1e960cfda6.jpg resize: (1080, 1632) 1346099056 -5.5899174242038425 treat image : temp/1742575350_593985_1346099028_8da0b154a3395ddb7d1728c4c6de3475.jpg resize: (1080, 1632) 1346099028 -5.9372226090971845 treat image : temp/1742575350_593985_1346098990_39e9c7e5488cd62f1c0bde3c7ead7328.jpg resize: (1080, 1632) 1346098990 -5.912665233498039 treat image : temp/1742575350_593985_1346098935_c770b67e50f3f2afab23f67ddb02778b.jpg resize: (1080, 1632) 1346098935 -6.120528910132272 treat image : temp/1742575350_593985_1346098881_662474210d52314c17d9a7d42bbe8fa8.jpg resize: (1080, 1632) 1346098881 -6.367617851009613 treat image : temp/1742575350_593985_1346072445_f97f2dea18bc8ec3078a285e39050506.jpg resize: (1080, 1632) 1346072445 -4.966718644423487 treat image : temp/1742575350_593985_1346072352_a654f04e00ecda63feee776b7455306e.jpg resize: (1080, 1632) 1346072352 -6.678909430483035 treat image : temp/1742575350_593985_1346072271_a0831f498936e57cfcee358edb7a9584.jpg resize: (1080, 1632) 1346072271 -5.978367762429061 treat image : temp/1742575350_593985_1346072267_e69efbc2a8de850799ca2f1e20c6555c.jpg resize: (1080, 1632) 1346072267 -6.768168751295759 treat image : temp/1742575350_593985_1346072262_3d512c66ffe5607d989065b8c043f156.jpg resize: (1080, 1632) 1346072262 -4.778088669592165 treat image : temp/1742575350_593985_1346072258_a6d1ec42850e2c377fb2cee29724771a.jpg resize: (1080, 1632) 1346072258 -6.289718687768535 treat image : temp/1742575350_593985_1346072254_c18b06833b56111088f0eac0fe5e6f6c.jpg resize: (1080, 1632) 1346072254 -5.815224822551831 treat image : temp/1742575350_593985_1346072240_c55d44a27550dcdd9c08f232f735827d.jpg resize: (1080, 1632) 1346072240 -6.102229094844448 treat image : temp/1742575350_593985_1346063798_c34e4cbef2f21537f7563da5e85054d4.jpg resize: (1080, 1632) 1346063798 -5.634603794309247 treat image : temp/1742575350_593985_1346063704_b38dc9c8fc710d58d87958dd83c09ee2.jpg resize: (1080, 1632) 1346063704 -5.778557429831123 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.012922525405883789 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.015542268753051758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01740407943725586 save missing photos in datou_result : time spend for datou_step_exec : 15.785779476165771 time spend to save output : 0.05051422119140625 total time spend for step 1 : 15.836293697357178 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.03system 0:22.88elapsed 79%CPU (0avgtext+0avgdata 138396maxresident)k 352inputs+11904outputs (4major+253663minor)pagefaults 0swaps