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 : 1201452 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1201452/ 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.172834634780884 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 Apr 9 13:32:32 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/1744198349_1201452_1350667452_546dc09e5ac60cdeda25a8f2a5eff89a.jpg resize: (1080, 1632) 1350667452 -2.0724976694670674 treat image : temp/1744198349_1201452_1350667448_9222d2e763d1d41b64678b9c21849af1.jpg resize: (1080, 1632) 1350667448 -3.0557657903656597 treat image : temp/1744198349_1201452_1350667424_54f0fe5f6b36219ea33993695b7faab2.jpg resize: (1080, 1632) 1350667424 -4.107848481480166 treat image : temp/1744198349_1201452_1350667420_798e6aa85025885ddcb747c2d338b011.jpg resize: (1080, 1632) 1350667420 -4.844666309663083 treat image : temp/1744198349_1201452_1350667415_624a0c13b5c3b38a2de9e38a55bf090f.jpg resize: (1080, 1632) 1350667415 -4.373751798705144 treat image : temp/1744198349_1201452_1350667411_3f0bdba18353ad725df7985a5478d7f0.jpg resize: (1080, 1632) 1350667411 -2.2385637274876435 treat image : temp/1744198349_1201452_1350667392_0c8c2e9f23b4349d077f1ec1574d9597.jpg resize: (1080, 1632) 1350667392 -1.527307180693816 treat image : temp/1744198349_1201452_1350667385_96223e69c5e779e621988ea97d18dcfc.jpg resize: (1080, 1632) 1350667385 -4.449553524458115 treat image : temp/1744198349_1201452_1350667380_501f36733efa833da652c677e0b34e90.jpg resize: (1080, 1632) 1350667380 -6.262614363244408 treat image : temp/1744198349_1201452_1350667376_dc0262df86911966c0612eb3cd3069a0.jpg resize: (1080, 1632) 1350667376 -6.38241969378801 treat image : temp/1744198349_1201452_1350667371_898fa7103e8fcf5560e6b80ad8dc2834.jpg resize: (1080, 1632) 1350667371 -5.590560830080759 treat image : temp/1744198349_1201452_1350667367_089032a8218e6385fccb5b1891f0d41f.jpg resize: (1080, 1632) 1350667367 -6.373834370279352 treat image : temp/1744198349_1201452_1350667335_37a38ec440f8000f40fe969f760d9e42.jpg resize: (1080, 1632) 1350667335 -4.479002154589532 treat image : temp/1744198349_1201452_1350667330_efd8a41cfd00e3aadc7812772d9b98b6.jpg resize: (1080, 1632) 1350667330 -5.559607281309051 treat image : temp/1744198349_1201452_1350667324_0779772b3daef3054816ae48a8c78611.jpg resize: (1080, 1632) 1350667324 -6.30136605136186 treat image : temp/1744198349_1201452_1350667299_40df59011481e978ab1ebe04deecc989.jpg resize: (1080, 1632) 1350667299 -5.680772305570475 treat image : temp/1744198349_1201452_1350667294_438533dca2a82238c89f5d975a7ee842.jpg resize: (1080, 1632) 1350667294 -5.809713735288717 treat image : temp/1744198349_1201452_1350667289_0e65e2c84c636b4d18ef9c4cd15e88e7.jpg resize: (1080, 1632) 1350667289 -6.118299372571769 treat image : temp/1744198349_1201452_1350667284_3c512e4d334816bb9503d75abbd3539b.jpg resize: (1080, 1632) 1350667284 -4.337458184568534 treat image : temp/1744198349_1201452_1350667281_7c0d488712a3905f5ca8c0907f584294.jpg resize: (1080, 1632) 1350667281 -5.375743508569493 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.01564812660217285 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.01297616958618164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014881610870361328 save missing photos in datou_result : time spend for datou_step_exec : 16.232253789901733 time spend to save output : 0.04854464530944824 total time spend for step 1 : 16.28079843521118 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 3.94system 0:23.32elapsed 80%CPU (0avgtext+0avgdata 139372maxresident)k 104inputs+10288outputs (13major+255674minor)pagefaults 0swaps