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 : 2460145 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 : 1390>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2460145/ 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.4509263038635254 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 May 16 06:52: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/1747371148_2460145_1358833274_3a20104e9d5a755c3e743da0ff206519.jpg resize: (1080, 1632) 1358833274 -1.4522644562532212 treat image : temp/1747371148_2460145_1358833266_5b29e67fba77ec578a005403679e4cd4.jpg resize: (1080, 1632) 1358833266 -3.0094014485564164 treat image : temp/1747371148_2460145_1358833262_7f0e711d7e8e23159cd4d7bd6bfed8f1.jpg resize: (1080, 1632) 1358833262 -3.90032607681162 treat image : temp/1747371148_2460145_1358831899_1e9c1223cd3d60667f7fbe19e6fae53a.jpg resize: (1080, 1632) 1358831899 -6.0858981570944515 treat image : temp/1747371148_2460145_1358829206_f635e5f5f3f50a47c2ad2b6d87f308da.jpg resize: (1080, 1632) 1358829206 -2.805251252020056 treat image : temp/1747371148_2460145_1358829168_fe6a68fe277d8151ab2f55211e78193d.jpg resize: (1080, 1632) 1358829168 -5.667168718531111 treat image : temp/1747371148_2460145_1358829127_0d7d804707cf4ab0f0530ff8e782b9c3.jpg resize: (1080, 1632) 1358829127 -6.015510552730699 treat image : temp/1747371148_2460145_1358826786_603239b1b212b4b221c17020bbb91150.jpg resize: (1080, 1632) 1358826786 -5.739465467648525 treat image : temp/1747371148_2460145_1358826294_95ff68ba9a36012fa603a3ae454ceab1.jpg resize: (1080, 1632) 1358826294 -2.0279080863969403 treat image : temp/1747371148_2460145_1358826290_3f9527c294ffdfa8d46719644ec9ae7c.jpg resize: (1080, 1632) 1358826290 -0.3619601342258985 treat image : temp/1747371148_2460145_1358826286_eb57bf22eb56960917e3dcd247902622.jpg resize: (1080, 1632) 1358826286 -2.2135600374260567 treat image : temp/1747371148_2460145_1358826284_d97813452f0c8f7b8ed343c294669bbf.jpg resize: (1080, 1632) 1358826284 -2.155095249807787 treat image : temp/1747371148_2460145_1358825979_7a4d004a1698d621b4ea1983a799e517.jpg resize: (1080, 1632) 1358825979 -5.502636509114336 treat image : temp/1747371148_2460145_1358825950_3d1472523ecfff4616762c1f2199d7ff.jpg resize: (1080, 1632) 1358825950 -5.33461944893091 treat image : temp/1747371148_2460145_1358825893_314c19d8b97308466f4d4d17ee7057dd.jpg resize: (1080, 1632) 1358825893 -5.504787019492714 treat image : temp/1747371148_2460145_1358825855_50f9c3e6d09b414caf44bd36c893553d.jpg resize: (1080, 1632) 1358825855 -3.910148128548179 treat image : temp/1747371148_2460145_1358825777_b6c528937cc533ca5f89986f811c19f4.jpg resize: (1080, 1632) 1358825777 -4.727896231132302 treat image : temp/1747371148_2460145_1358825702_7a65823b63ab7977234c3005652a1560.jpg resize: (1080, 1632) 1358825702 -5.805227183999587 treat image : temp/1747371148_2460145_1358825291_d4ab04f041f3a2c13e59e5b9e276a687.jpg resize: (1080, 1632) 1358825291 -4.500906160298031 treat image : temp/1747371148_2460145_1358825233_41a185973a5926e8976a0f2996d14900.jpg resize: (1080, 1632) 1358825233 -3.665035414229652 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.0130462646484375 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.015729904174804688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019032716751098633 save missing photos in datou_result : time spend for datou_step_exec : 16.84077787399292 time spend to save output : 0.0522150993347168 total time spend for step 1 : 16.892992973327637 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 4.83system 0:22.43elapsed 85%CPU (0avgtext+0avgdata 141748maxresident)k 32inputs+9056outputs (7major+255832minor)pagefaults 0swaps