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 : 28333 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 : 3968>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/28333/ 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.471193790435791 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 17 11:52: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/1752745949_28333_1372393998_790685cda8be78f078672c88d69f947f.jpg resize: (1080, 1632) 1372393998 -5.4939189562004715 treat image : temp/1752745949_28333_1372393994_33a9ea49e3f798e66cf09d786d1f063e.jpg resize: (1080, 1632) 1372393994 -5.253855209819249 treat image : temp/1752745949_28333_1372393991_47594403a79b758aa8050bbc8f98ed6c.jpg resize: (1080, 1632) 1372393991 -5.2575637995295645 treat image : temp/1752745949_28333_1372393986_bd4cea8be72fc4c5fc9f2c27ec16ad04.jpg resize: (1080, 1632) 1372393986 -5.467769136054201 treat image : temp/1752745949_28333_1372393982_2fce14a6f8326198ba65f0eeccbdbbe3.jpg resize: (1080, 1632) 1372393982 -5.242986603015529 treat image : temp/1752745949_28333_1372393980_50498f4de5054823d0b9ef0f4f0b90a6.jpg resize: (1080, 1632) 1372393980 -5.484575010008892 treat image : temp/1752745949_28333_1372346242_77adba2e7405e83cd074933e9b0723a8.jpg resize: (1080, 1632) 1372346242 -4.685297102093159 treat image : temp/1752745949_28333_1372346240_febf2d63e7b2702d506e11747d1d6430.jpg resize: (1080, 1632) 1372346240 -1.553250926525241 treat image : temp/1752745949_28333_1372346237_29313e30b6b5c6cebaec202af92b4a5e.jpg resize: (1080, 1632) 1372346237 -2.8475073296439284 treat image : temp/1752745949_28333_1372346234_b13ef7c799f02c27d589e9a2ef288b5c.jpg resize: (1080, 1632) 1372346234 -2.5765962282728374 treat image : temp/1752745949_28333_1372346232_5e4eae2f1376d7d3544d2ec253f75351.jpg resize: (1080, 1632) 1372346232 -3.2118647608857875 treat image : temp/1752745949_28333_1372346230_852d93536afed925e36344b9953eb734.jpg resize: (1080, 1632) 1372346230 -3.200765707050035 treat image : temp/1752745949_28333_1372346215_3552a933eb65f5aa201a28e6fab39cea.jpg resize: (1080, 1632) 1372346215 -5.338945183743908 treat image : temp/1752745949_28333_1372346213_911443206ab1df231e89ecd07012b3a9.jpg resize: (1080, 1632) 1372346213 -5.479068431811272 treat image : temp/1752745949_28333_1372346208_def66f466e73715ba49794250c54b86a.jpg resize: (1080, 1632) 1372346208 -5.4796082332893805 treat image : temp/1752745949_28333_1372346204_865293c170f531381e16d2bb2050d69e.jpg resize: (1080, 1632) 1372346204 -3.559141674926988 treat image : temp/1752745949_28333_1372346200_789ff3140ddcf7b1c7d624b1e0f850da.jpg resize: (1080, 1632) 1372346200 -5.179179651858052 treat image : temp/1752745949_28333_1372346197_a7626033e0cb10fad2b05e1985232102.jpg resize: (1080, 1632) 1372346197 -5.242962751118922 treat image : temp/1752745949_28333_1372346176_84ccc74b69effba65856a1903c9fd2c4.jpg resize: (1080, 1632) 1372346176 -2.6651206138625616 treat image : temp/1752745949_28333_1372346172_5a50539e88f26b350235f6f8c20ce23c.jpg resize: (1080, 1632) 1372346172 -1.7367299730276573 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.031517744064331055 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.028435945510864258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030449628829956055 save missing photos in datou_result : time spend for datou_step_exec : 14.845739603042603 time spend to save output : 0.10369706153869629 total time spend for step 1 : 14.949436664581299 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.83user 3.12system 0:21.84elapsed 77%CPU (0avgtext+0avgdata 137868maxresident)k 0inputs+9000outputs (3major+256079minor)pagefaults 0swaps