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 : 3606070 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 : 7166>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/3606070/ 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.1193346977233887 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 Thu Jul 31 21:42:31 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/1753990948_3606070_1374652339_6ff60ba0f5f65fc823826cc2905827bb.jpg resize: (1080, 1632) 1374652339 -3.336782031950954 treat image : temp/1753990948_3606070_1374652337_2e99d13ed5c34ebd546d8be71360af9b.jpg resize: (1080, 1632) 1374652337 -0.6621990423442522 treat image : temp/1753990948_3606070_1374652335_eaa5a64a0f4f4bada2543b5124d6b5e5.jpg resize: (1080, 1632) 1374652335 -4.582112309474138 treat image : temp/1753990948_3606070_1374652324_9733d93849745f8d8ab81537125fa026.jpg resize: (1080, 1632) 1374652324 -4.310999354147985 treat image : temp/1753990948_3606070_1374652310_5121d789435178985c0bbd1f4b22aa0f.jpg resize: (1080, 1632) 1374652310 -5.529700001178677 treat image : temp/1753990948_3606070_1374652253_b84165f8f609571b51cf35b814a30b6c.jpg resize: (1080, 1632) 1374652253 -5.442535495660001 treat image : temp/1753990948_3606070_1374652229_e521a681ccddb16b3af02fdec4d01d2f.jpg resize: (1080, 1632) 1374652229 -4.894974622144169 treat image : temp/1753990948_3606070_1374652225_9e85284e70ce2cf3b076f004a3450623.jpg resize: (1080, 1632) 1374652225 -4.565415678453603 treat image : temp/1753990948_3606070_1374652186_2d460e691fd1377eb12340ed7f2b2ab3.jpg resize: (1080, 1632) 1374652186 -5.243400709459889 treat image : temp/1753990948_3606070_1374652159_e4593ec0552f5608d8d06882ed66cd5f.jpg resize: (1080, 1632) 1374652159 -1.4436290739344688 treat image : temp/1753990948_3606070_1374652158_c48a68975c641b7eb252f2be09dd53dd.jpg resize: (1080, 1632) 1374652158 -2.3711826268258687 treat image : temp/1753990948_3606070_1374652140_768eef07d937cd3e64d6be41f6447ca1.jpg resize: (1080, 1632) 1374652140 -4.578402629531415 treat image : temp/1753990948_3606070_1374652055_8bfffe8e73472c3649604d59364028d9.jpg resize: (1080, 1632) 1374652055 -3.3835615077474372 treat image : temp/1753990948_3606070_1374652053_5b73b23c6b6564296cd1c19eaf8d0e6b.jpg resize: (1080, 1632) 1374652053 -4.6821320993841695 treat image : temp/1753990948_3606070_1374652051_1a9e950401f83fb2e40bc7d725a773ee.jpg resize: (1080, 1632) 1374652051 -5.076923855854156 treat image : temp/1753990948_3606070_1374652002_d71bbd57ad197046995dd6169573a083.jpg resize: (1080, 1632) 1374652002 -4.995042916050224 treat image : temp/1753990948_3606070_1374651960_3b36caf76ac797e1f1825705bf7a9f3a.jpg resize: (1080, 1632) 1374651960 -4.184176797888001 treat image : temp/1753990948_3606070_1374651936_7acc3213074541ae1416f37e248b279e.jpg resize: (1080, 1632) 1374651936 -4.366879657751165 treat image : temp/1753990948_3606070_1374651806_cd08ee0734af0dfd9331908c963e6138.jpg resize: (1080, 1632) 1374651806 -5.224219249575686 treat image : temp/1753990948_3606070_1374651798_e5bd19da1c5889fda89af441841d5c21.jpg resize: (1080, 1632) 1374651798 -4.371830485186568 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.013875246047973633 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.012711048126220703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015182971954345703 save missing photos in datou_result : time spend for datou_step_exec : 16.552364826202393 time spend to save output : 0.04643058776855469 total time spend for step 1 : 16.598795413970947 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 4.85system 0:22.34elapsed 84%CPU (0avgtext+0avgdata 138572maxresident)k 112inputs+9024outputs (0major+259983minor)pagefaults 0swaps