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 : 2149384 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 : 2008>100 please execute split_portfolio.py -i 25656691 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3440425'] with mtr_portfolio_ids : ['25656691'] and first list_photo_ids : [] new path : /proc/2149384/ 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.2970221042633057 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 5 09:47: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/1754380048_2149384_1375244777_45ca1a17282b9257f5df7e23560d238f.jpg resize: (1080, 1632) 1375244777 -3.2305524835724087 treat image : temp/1754380048_2149384_1375244745_cf494c8b14bfbd86aeab6f7a82b6d419.jpg resize: (1080, 1632) 1375244745 -5.36336540742753 treat image : temp/1754380048_2149384_1375244721_835f3fe74d9f1e3063d479e78877b2c0.jpg resize: (1080, 1632) 1375244721 -5.534510142329293 treat image : temp/1754380048_2149384_1375244694_2830536eeef8a63fc51f8f792d6c4482.jpg resize: (1080, 1632) 1375244694 -4.262108201040253 treat image : temp/1754380048_2149384_1375244692_25df4828e084198b03fed62cbd62ad08.jpg resize: (1080, 1632) 1375244692 -5.322838371200285 treat image : temp/1754380048_2149384_1375244687_f07d15cb23333a706e1b158e79fac9ed.jpg resize: (1080, 1632) 1375244687 -3.891065842362718 treat image : temp/1754380048_2149384_1375244671_88d6d78fcb9098e42839a140df6bb264.jpg resize: (1080, 1632) 1375244671 -2.9039801815653474 treat image : temp/1754380048_2149384_1375244656_204f3395ad2a69a9bb9e2b2223adc1f1.jpg resize: (1080, 1632) 1375244656 -4.226667207744548 treat image : temp/1754380048_2149384_1375244653_e68967383bbed4b317550adfe11dedc0.jpg resize: (1080, 1632) 1375244653 -4.1051912627275 treat image : temp/1754380048_2149384_1375244603_fc205d7b241a0d105ac605831fcda159.jpg resize: (1080, 1632) 1375244603 -5.357785456960963 treat image : temp/1754380048_2149384_1375244602_e7bb68fcdd4c49f05eb9c3a98082d02d.jpg resize: (1080, 1632) 1375244602 -3.0544196582936114 treat image : temp/1754380048_2149384_1375244601_5afc3b6d7801b3e3a87270c72c17d31e.jpg resize: (1080, 1632) 1375244601 -4.72630271576143 treat image : temp/1754380048_2149384_1375244600_0aad8e485940336ab80d80ecb2c71dcb.jpg resize: (1080, 1632) 1375244600 -3.9631951474519007 treat image : temp/1754380048_2149384_1375244592_363db064d161fa2d5aa5576fa7b454a7.jpg resize: (1080, 1632) 1375244592 -4.354920887795236 treat image : temp/1754380048_2149384_1375244568_f5df136db3aa10f12d1df9fcc2e910c1.jpg resize: (1080, 1632) 1375244568 -4.720921618374872 treat image : temp/1754380048_2149384_1375244471_fe5e0f687dad5b8f24af3b8c6a7f56c8.jpg resize: (1080, 1632) 1375244471 -4.817996957921468 treat image : temp/1754380048_2149384_1375244429_ca578b0f1a8d45416ab1826efb89a2cb.jpg resize: (1080, 1632) 1375244429 -4.652518027224766 treat image : temp/1754380048_2149384_1375244402_31d85b84f72a5b2be7c8e732cba18858.jpg resize: (1080, 1632) 1375244402 -4.214730199412711 treat image : temp/1754380048_2149384_1375244397_3f9f5223303df78ab01197c4d3f91027.jpg resize: (1080, 1632) 1375244397 -1.7388161266427558 treat image : temp/1754380048_2149384_1375244393_d4ef88c63fb689d39f03324239ef0841.jpg resize: (1080, 1632) 1375244393 -2.196508430360856 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.014679431915283203 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.10195016860961914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04092597961425781 save missing photos in datou_result : time spend for datou_step_exec : 16.710453271865845 time spend to save output : 0.16277575492858887 total time spend for step 1 : 16.873229026794434 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 4.61system 0:21.25elapsed 91%CPU (0avgtext+0avgdata 137496maxresident)k 328inputs+8464outputs (5major+251459minor)pagefaults 0swaps