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 : 1956361 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 : 950>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1956361/ 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.538057565689087 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 May 14 08: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/1747205248_1956361_1358103535_232e2bd81c7b1429253c18cd6fa5cdee.jpg resize: (1080, 1632) 1358103535 -6.13596647840354 treat image : temp/1747205248_1956361_1358103509_6c9c3d27c747f85bdfa73fca58b47404.jpg resize: (1080, 1632) 1358103509 -5.834278545464843 treat image : temp/1747205248_1956361_1358103483_85a01743e08d5f01afdf803e720545df.jpg resize: (1080, 1632) 1358103483 -5.937889554178113 treat image : temp/1747205248_1956361_1358103431_239b99d403c902fb97091914ffd99802.jpg resize: (1080, 1632) 1358103431 -1.5625282123349185 treat image : temp/1747205248_1956361_1358103428_4939bb3e158e321f33ded63fe26057ff.jpg resize: (1080, 1632) 1358103428 -2.5755282964274664 treat image : temp/1747205248_1956361_1358103426_4ad9bd56305af0e1570aba28e8fc82ae.jpg resize: (1080, 1632) 1358103426 -4.088558718660768 treat image : temp/1747205248_1956361_1358103423_9b33a2a65dab92ef621f401882fe0b80.jpg resize: (1080, 1632) 1358103423 -5.819607333212787 treat image : temp/1747205248_1956361_1358103421_55f742589c4a0c58ef2525b4e182075f.jpg resize: (1080, 1632) 1358103421 -4.468450451777755 treat image : temp/1747205248_1956361_1358103396_6d3edbc9a8a7aa19c93dcb52f0f1f426.jpg resize: (1080, 1632) 1358103396 -5.534482986192768 treat image : temp/1747205248_1956361_1358103392_4b3c74186ed9726d6f099cdad8bb313b.jpg resize: (1080, 1632) 1358103392 -5.530402515982167 treat image : temp/1747205248_1956361_1358103390_ce09c3dcc33a2d8a1e38ff30e3f351ae.jpg resize: (1080, 1632) 1358103390 -5.858758076115133 treat image : temp/1747205248_1956361_1358103386_22ebffd56c92c6dcfe18bd3790f9b406.jpg resize: (1080, 1632) 1358103386 -2.9162040035842107 treat image : temp/1747205248_1956361_1358103363_b49c2f3fa61a78986c8f1a86f483b78c.jpg resize: (1080, 1632) 1358103363 -6.0803065735857444 treat image : temp/1747205248_1956361_1358103362_8d9a6d31c7fd2c3d5d36077eb861138f.jpg resize: (1080, 1632) 1358103362 -5.317851557521631 treat image : temp/1747205248_1956361_1358103360_532a63865b5a5ce55a579253794a9f33.jpg resize: (1080, 1632) 1358103360 -5.223320926468326 treat image : temp/1747205248_1956361_1358103358_6ee41d5b34e33aa0923d78a04867ae6e.jpg resize: (1080, 1632) 1358103358 -5.683035384742269 treat image : temp/1747205248_1956361_1358103356_0218d85a4d90a9ee8c6d34df08badf36.jpg resize: (1080, 1632) 1358103356 -5.356574034703385 treat image : temp/1747205248_1956361_1358103319_6ecb83cf4a6877d7c1fa073c58c4144c.jpg resize: (1080, 1632) 1358103319 -4.668636781924178 treat image : temp/1747205248_1956361_1358103317_0e455b4c53e2c1ca8669f8040736398f.jpg resize: (1080, 1632) 1358103317 -4.7785764095044545 treat image : temp/1747205248_1956361_1358103314_86986c281e7a7ebc1c5320b475118974.jpg resize: (1080, 1632) 1358103314 -5.9803448642242465 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.01564192771911621 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.030595779418945312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017587661743164062 save missing photos in datou_result : time spend for datou_step_exec : 17.615091800689697 time spend to save output : 0.1980435848236084 total time spend for step 1 : 17.813135385513306 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.08user 5.15system 0:23.15elapsed 87%CPU (0avgtext+0avgdata 140624maxresident)k 5400inputs+10168outputs (6major+260743minor)pagefaults 0swaps