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 : 1813635 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 : 4998>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1813635/ 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.3102948665618896 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 Jul 2 20:47: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/1751482048_1813635_1370081675_7930e52a8e1762a6205ef293c6a588ea.jpg resize: (1080, 1632) 1370081675 -5.9396249379696435 treat image : temp/1751482048_1813635_1370081674_dc7fbdb3c52cfa138ec298cc1647fd03.jpg resize: (1080, 1632) 1370081674 -5.937776808495922 treat image : temp/1751482048_1813635_1370081673_b50541a41bf22fab4eb58c3451f99f7a.jpg resize: (1080, 1632) 1370081673 -5.920844469714637 treat image : temp/1751482048_1813635_1370081672_229e3c0dea8a7c9c75c43c63d05f32fd.jpg resize: (1080, 1632) 1370081672 -5.93975794624192 treat image : temp/1751482048_1813635_1370081669_5ed04423ff05d7cf55ee8dd2e3cd5f5a.jpg resize: (1080, 1632) 1370081669 -5.940616983107146 treat image : temp/1751482048_1813635_1370081667_925878e52564cb9c4c9d3fb2f9937d84.jpg resize: (1080, 1632) 1370081667 -5.918921825353618 treat image : temp/1751482048_1813635_1370081641_e6326ae894769994ba05e4ed4d07570e.jpg resize: (1080, 1632) 1370081641 -2.745835317149987 treat image : temp/1751482048_1813635_1370081620_a49af3b4963259739d6259bca0845c67.jpg resize: (1080, 1632) 1370081620 -1.8397510853311125 treat image : temp/1751482048_1813635_1370081596_b7081cb46abef371568478eb7dbdebe0.jpg resize: (1080, 1632) 1370081596 -2.426862208191582 treat image : temp/1751482048_1813635_1370081543_5d8fbb171442a5cd4a70ba3b72084a78.jpg resize: (1080, 1632) 1370081543 -2.8823213516283404 treat image : temp/1751482048_1813635_1370081505_da12a8c4f155d6a34f9d09017e58bdb3.jpg resize: (1080, 1632) 1370081505 -2.785809211552993 treat image : temp/1751482048_1813635_1370081473_dfcafd2596b4e9e587e1879b4071aeca.jpg resize: (1080, 1632) 1370081473 -4.630068850030684 treat image : temp/1751482048_1813635_1370081445_58afc4c1b7ca1a951ef87261434859e6.jpg resize: (1080, 1632) 1370081445 -5.94693706780401 treat image : temp/1751482048_1813635_1370081443_aa34009aeffc536f930b23c7c8e6df7c.jpg resize: (1080, 1632) 1370081443 -5.958025643226316 treat image : temp/1751482048_1813635_1370081436_90390d32f5f0d68c81bd092d61050dd5.jpg resize: (1080, 1632) 1370081436 -5.946531522251274 treat image : temp/1751482048_1813635_1370081435_dcf9b60ebebd962a7aa745624d6b75dc.jpg resize: (1080, 1632) 1370081435 -5.959823437324097 treat image : temp/1751482048_1813635_1370081432_08f4a70dda02df77c58f7cb3dbe99b70.jpg resize: (1080, 1632) 1370081432 -5.924280971560741 treat image : temp/1751482048_1813635_1370081406_b1d90da61a748bf41d4cd0bf797bb822.jpg resize: (1080, 1632) 1370081406 -5.933898833802211 treat image : temp/1751482048_1813635_1370080397_969b055facf9750c0ccbbfd5d380b35b.jpg resize: (1080, 1632) 1370080397 -4.6680841070668535 treat image : temp/1751482048_1813635_1370080364_0b8eb231a5d1c1ae11e57e30f04967c3.jpg resize: (1080, 1632) 1370080364 -4.468493713670511 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.030515670776367188 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.016121387481689453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0184323787689209 save missing photos in datou_result : time spend for datou_step_exec : 15.987905263900757 time spend to save output : 0.07000041007995605 total time spend for step 1 : 16.057905673980713 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 4.13system 0:20.68elapsed 89%CPU (0avgtext+0avgdata 138520maxresident)k 1744inputs+10008outputs (25major+257022minor)pagefaults 0swaps