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 : 1671948 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 : 3940>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1671948/ 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.279888868331909 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 4 16:37:37 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/1751639855_1671948_1370644403_ad7a24f357476b1af2f64d29db8e9316.jpg resize: (1080, 1632) 1370644403 -1.4210322529711827 treat image : temp/1751639855_1671948_1370644394_f1125d890e25be632ce51a0326ca7eda.jpg resize: (1080, 1632) 1370644394 -4.636608104175824 treat image : temp/1751639855_1671948_1370644391_f3696197fd52c4a4c51f864123f397a6.jpg resize: (1080, 1632) 1370644391 -4.891835817190034 treat image : temp/1751639855_1671948_1370644387_6516b184395f158930b6990fb5e0c71b.jpg resize: (1080, 1632) 1370644387 -4.833575446614118 treat image : temp/1751639855_1671948_1370644358_8c54d8a96ed5073125e7dbb3001dca7c.jpg resize: (1080, 1632) 1370644358 -4.859761649179921 treat image : temp/1751639855_1671948_1370644318_239af3147bb4654a126883500896e724.jpg resize: (1080, 1632) 1370644318 -4.358173342913573 treat image : temp/1751639855_1671948_1370644196_ea833954919cea9852461db1f35fc51e.jpg resize: (1080, 1632) 1370644196 -5.150792977101476 treat image : temp/1751639855_1671948_1370644176_d654386e653c3e86f7b8c5a5919a6b92.jpg resize: (1080, 1632) 1370644176 -4.925050236043353 treat image : temp/1751639855_1671948_1370644143_94c6f0c00228a1e18e581d18e58263e8.jpg resize: (1080, 1632) 1370644143 -5.88900462870457 treat image : temp/1751639855_1671948_1370644077_5ee568754b0a9384c803eec6e4f8107a.jpg resize: (1080, 1632) 1370644077 -5.357658775248494 treat image : temp/1751639855_1671948_1370644013_ffa6a87c2d26eebb382a00aa8bfc09b3.jpg resize: (1080, 1632) 1370644013 -5.4487047421474255 treat image : temp/1751639855_1671948_1370643950_68835f7599cb8792a6f7a5c8bbefe5a1.jpg resize: (1080, 1632) 1370643950 -5.496098254436649 treat image : temp/1751639855_1671948_1370643573_469774870fbc02ef6f10fa2a1a5f370d.jpg resize: (1080, 1632) 1370643573 -1.9717831595776427 treat image : temp/1751639855_1671948_1370643541_1cae32f7beb8d285aefe31745bd80aa4.jpg resize: (1080, 1632) 1370643541 -1.9490246696767821 treat image : temp/1751639855_1671948_1370643482_7515e8ac56fb1a9ea2786a965383fb4a.jpg resize: (1080, 1632) 1370643482 -0.0113966667552898 treat image : temp/1751639855_1671948_1370643476_4fa71876ee6e8f425b61075d1f4293e6.jpg resize: (1080, 1632) 1370643476 -4.962021559217734 treat image : temp/1751639855_1671948_1370643394_38cea9613c27f08eb57f65d26211b0f2.jpg resize: (1080, 1632) 1370643394 -5.018826118063893 treat image : temp/1751639855_1671948_1370643389_e8b3a490102ee7e33201c6c4b93ea162.jpg resize: (1080, 1632) 1370643389 -4.082868449912589 treat image : temp/1751639855_1671948_1370643357_28e8b08da2f9ba9bd30bad20ae8a32b8.jpg resize: (1080, 1632) 1370643357 -5.163160894353045 treat image : temp/1751639855_1671948_1370643288_5076fc68cb9917ebdf02a603b8c7a0e3.jpg resize: (1080, 1632) 1370643288 -4.452017085061119 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.015967369079589844 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.01671910285949707 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015547990798950195 save missing photos in datou_result : time spend for datou_step_exec : 16.068312883377075 time spend to save output : 0.05385613441467285 total time spend for step 1 : 16.122169017791748 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 4.06system 0:28.85elapsed 64%CPU (0avgtext+0avgdata 136784maxresident)k 960inputs+8848outputs (25major+262237minor)pagefaults 0swaps