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 : 2798024 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 : 2270>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2798024/ 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.3406200408935547 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 Tue May 20 15:27: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/1747747648_2798024_1359818128_e79854f598c51a1c52ea9d59443e49e6.jpg resize: (1080, 1632) 1359818128 -5.837941258774384 treat image : temp/1747747648_2798024_1359818120_bab1ce117e07fdf07c29bede23c17368.jpg resize: (1080, 1632) 1359818120 -5.109954178444556 treat image : temp/1747747648_2798024_1359818091_f66c8a2cf2e7d468de21bb8e99a0f6d1.jpg resize: (1080, 1632) 1359818091 -5.643635372765325 treat image : temp/1747747648_2798024_1359818076_e32fb03908106c8f8a93ba501afa695a.jpg resize: (1080, 1632) 1359818076 -5.305345194367305 treat image : temp/1747747648_2798024_1359818034_22fd6b52b937c1db83ed7059ef0c5935.jpg resize: (1080, 1632) 1359818034 -6.013288060560309 treat image : temp/1747747648_2798024_1359818003_214f23e08436a6d92a80ead37028481f.jpg resize: (1080, 1632) 1359818003 -1.4023128107184537 treat image : temp/1747747648_2798024_1359817998_bd1040a306ca3e4d53a8a2cf26749d2f.jpg resize: (1080, 1632) 1359817998 -2.421664653445321 treat image : temp/1747747648_2798024_1359817992_370875dc99c4c7581485cc76983f451d.jpg resize: (1080, 1632) 1359817992 -5.538142576501184 treat image : temp/1747747648_2798024_1359817986_098c8684203ad03a91f4cb734f30fd15.jpg resize: (1080, 1632) 1359817986 -5.757487459446834 treat image : temp/1747747648_2798024_1359817976_9c968da6b852d610d66fb8c141b6cd6e.jpg resize: (1080, 1632) 1359817976 -5.8249358064326655 treat image : temp/1747747648_2798024_1359817883_d5233d9f753b9e851bdfba3d11540089.jpg resize: (1080, 1632) 1359817883 -4.2528403669586865 treat image : temp/1747747648_2798024_1359817877_44c498375b7a266b3521c12bfa30037f.jpg resize: (1080, 1632) 1359817877 -5.0196706205167345 treat image : temp/1747747648_2798024_1359817874_3341d39b53685e70dd2c18693ff4230e.jpg resize: (1080, 1632) 1359817874 -4.465550101749102 treat image : temp/1747747648_2798024_1359817678_40a5994ad421a89dabfd39dc66e52c9b.jpg resize: (1080, 1632) 1359817678 -6.161104632246923 treat image : temp/1747747648_2798024_1359817641_a61b9139cb56992e0a94f73ca412377e.jpg resize: (1080, 1632) 1359817641 -6.191840192775581 treat image : temp/1747747648_2798024_1359817613_14de03cee3ff88b4b29733cfc2cd9f1d.jpg resize: (1080, 1632) 1359817613 -3.955900618665171 treat image : temp/1747747648_2798024_1359817583_c291282e28be23c8764b4ba6e3056f0c.jpg resize: (1080, 1632) 1359817583 -5.8540788564763835 treat image : temp/1747747648_2798024_1359817554_bf7f85184c19d2da987875f392ea7dfe.jpg resize: (1080, 1632) 1359817554 -4.531991127178295 treat image : temp/1747747648_2798024_1359817533_abafcf5fcd88a3eb7b45806eda0a937a.jpg resize: (1080, 1632) 1359817533 -2.842280406163347 treat image : temp/1747747648_2798024_1359817506_94c1f567cb095be412eb8a5882502245.jpg resize: (1080, 1632) 1359817506 -1.5174545386078366 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.01265096664428711 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.013963699340820312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014913558959960938 save missing photos in datou_result : time spend for datou_step_exec : 18.14662766456604 time spend to save output : 0.04671788215637207 total time spend for step 1 : 18.193345546722412 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.72user 4.83system 0:23.76elapsed 86%CPU (0avgtext+0avgdata 140320maxresident)k 1416inputs+10200outputs (17major+258989minor)pagefaults 0swaps