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 : 1113436 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1113436/ 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 : 3.3647608757019043 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 Wed Apr 9 13: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/1744196547_1113436_1350670358_095161a37bc8edb468396e484f53638b.jpg resize: (1080, 1632) 1350670358 -6.30327203327848 treat image : temp/1744196547_1113436_1350670355_3940ce332a5d8181551475529d20e491.jpg resize: (1080, 1632) 1350670355 -5.67907167130433 treat image : temp/1744196547_1113436_1350670296_ee3f03d6f536d4dbefcca0dff2fb685e.jpg resize: (1080, 1632) 1350670296 -6.243889714268996 treat image : temp/1744196547_1113436_1350670294_db6a859d6bdbc9475466fb2acf02c028.jpg resize: (1080, 1632) 1350670294 -6.205387227609417 treat image : temp/1744196547_1113436_1350670265_ad02432e490459e376099ce7513690a3.jpg resize: (1080, 1632) 1350670265 -2.0423052423475223 treat image : temp/1744196547_1113436_1350670261_d861dda208172d4676238fa775338df0.jpg resize: (1080, 1632) 1350670261 -4.7503231550683385 treat image : temp/1744196547_1113436_1350670250_e7b6a92b8b5009afa54bbab50d707736.jpg resize: (1080, 1632) 1350670250 -5.835859543304714 treat image : temp/1744196547_1113436_1350670244_bfd3f2e0188212c512c37f5cb7c3a451.jpg resize: (1080, 1632) 1350670244 -6.209981473286219 treat image : temp/1744196547_1113436_1350670237_04cc02666b5ab7379175e6c8ea4899c6.jpg resize: (1080, 1632) 1350670237 -6.591313981487115 treat image : temp/1744196547_1113436_1350670233_a9080493353fe425d0e6811a4e1882f4.jpg resize: (1080, 1632) 1350670233 -6.033849753442816 treat image : temp/1744196547_1113436_1350670229_fd21918057f47ed5a9836bf7d2b1a548.jpg resize: (1080, 1632) 1350670229 -5.63109757226063 treat image : temp/1744196547_1113436_1350670225_25c0341240f9dcc128d3a75f85a9d657.jpg resize: (1080, 1632) 1350670225 -5.049750902524489 treat image : temp/1744196547_1113436_1350670202_40c657265273ef873fcbc0d0c1b113d0.jpg resize: (1080, 1632) 1350670202 -1.9255205946424012 treat image : temp/1744196547_1113436_1350670198_1348ae8d64292d79c81fed39d662c65d.jpg resize: (1080, 1632) 1350670198 -3.6346677339818045 treat image : temp/1744196547_1113436_1350670193_7cd751980508a5794d6e388c5472047b.jpg resize: (1080, 1632) 1350670193 -3.6504858913196303 treat image : temp/1744196547_1113436_1350670191_c1736318a3559f538c0253d6c09e0603.jpg resize: (1080, 1632) 1350670191 -4.981241861485796 treat image : temp/1744196547_1113436_1350670188_7f7e372e999d3fd569bf0326b5257316.jpg resize: (1080, 1632) 1350670188 -5.916196047157296 treat image : temp/1744196547_1113436_1350670175_248b9e3fa7f947a548d92e44ec4f532a.jpg resize: (1080, 1632) 1350670175 -6.0826358390877635 treat image : temp/1744196547_1113436_1350670171_ea55316c91025272a18bc372486325d5.jpg resize: (1080, 1632) 1350670171 -5.940445880334581 treat image : temp/1744196547_1113436_1350670168_ed37354f29818ef36a8e0f5b3467c68c.jpg resize: (1080, 1632) 1350670168 -6.098206673528352 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.012647390365600586 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.012951850891113281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014772891998291016 save missing photos in datou_result : time spend for datou_step_exec : 16.205679416656494 time spend to save output : 0.045037269592285156 total time spend for step 1 : 16.25071668624878 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.78user 3.91system 0:22.45elapsed 83%CPU (0avgtext+0avgdata 140856maxresident)k 72inputs+10776outputs (4major+251712minor)pagefaults 0swaps