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 : 854130 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551869'] with mtr_portfolio_ids : ['26046582'] and first list_photo_ids : [] new path : /proc/854130/ 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.167548418045044 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 Aug 19 00:17:27 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/1755555445_854130_1377722632_d749dcaba0fc472b8ba8617bd51d94bb.jpg resize: (1080, 1632) 1377722632 -5.629920767838257 treat image : temp/1755555445_854130_1377722630_3bf307c9fcd47c243b05f098d4a5c99e.jpg resize: (1080, 1632) 1377722630 -5.590930164382398 treat image : temp/1755555445_854130_1377722629_40896cb931ff8a53d72759580dcc5db1.jpg resize: (1080, 1632) 1377722629 -5.539882486047197 treat image : temp/1755555445_854130_1377722628_40c665e7261eaacd1f5a1c7cc394fd5f.jpg resize: (1080, 1632) 1377722628 -1.8124833608848896 treat image : temp/1755555445_854130_1377722605_63ff7894a696dd619529c8b96a4fe2b8.jpg resize: (1080, 1632) 1377722605 -5.6911842840827775 treat image : temp/1755555445_854130_1377722604_ef6b1ee5abab255b1a69f7f04620b903.jpg resize: (1080, 1632) 1377722604 -5.304134035079276 treat image : temp/1755555445_854130_1377722602_c73018cd2f09c22bec8e18dd8f326fd1.jpg resize: (1080, 1632) 1377722602 -5.209344022955031 treat image : temp/1755555445_854130_1377722600_646b37d7914f7b1d9945f2cfd1391d02.jpg resize: (1080, 1632) 1377722600 -5.122549190310686 treat image : temp/1755555445_854130_1377722597_d0732e935767d7f8236bb5a35f0e9f70.jpg resize: (1080, 1632) 1377722597 -5.290912251119569 treat image : temp/1755555445_854130_1377722595_e822be921927d906abecc5a3c05cf91b.jpg resize: (1080, 1632) 1377722595 -5.93693442668743 treat image : temp/1755555445_854130_1377722586_09127ac453f22ef098685d728bdcfcba.jpg resize: (1080, 1632) 1377722586 -3.4381310627705117 treat image : temp/1755555445_854130_1377722583_6150092c461db3ae0b2f8ffe8c1a85cc.jpg resize: (1080, 1632) 1377722583 -4.937164167048862 treat image : temp/1755555445_854130_1377722580_079df6eb29516c48b4df79aa82b8b9f5.jpg resize: (1080, 1632) 1377722580 -5.895710227868568 treat image : temp/1755555445_854130_1377722577_ca89c0f3e8fdf4c6ddb8afe029ea2b3d.jpg resize: (1080, 1632) 1377722577 -5.639223621076694 treat image : temp/1755555445_854130_1377722574_54e32871d67637d97a853780dec79f2e.jpg resize: (1080, 1632) 1377722574 -3.752256383520467 treat image : temp/1755555445_854130_1377722563_59a07a8eca729a51e21d14859e391997.jpg resize: (1080, 1632) 1377722563 0.3308744968434697 treat image : temp/1755555445_854130_1377722561_207bff05c745bcd3a033c9f52f71413b.jpg resize: (1080, 1632) 1377722561 -1.6474285170431366 treat image : temp/1755555445_854130_1377722559_4e2e1bf8455e4240002cd7901efd226a.jpg resize: (1080, 1632) 1377722559 -2.7460776218088903 treat image : temp/1755555445_854130_1377722557_27e476966116ed20c74fc5b73e36ca0f.jpg resize: (1080, 1632) 1377722557 -3.4407116828649986 treat image : temp/1755555445_854130_1377722556_02bf1de43dff96f8b92570c44c9de077.jpg resize: (1080, 1632) 1377722556 -5.0084606444297535 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.012360095977783203 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.013097286224365234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014848470687866211 save missing photos in datou_result : time spend for datou_step_exec : 14.035311222076416 time spend to save output : 0.045201778411865234 total time spend for step 1 : 14.080513000488281 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.42user 3.04system 0:17.54elapsed 93%CPU (0avgtext+0avgdata 139020maxresident)k 0inputs+9440outputs (2major+231943minor)pagefaults 0swaps