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 : 4099140 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 : 7180>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/4099140/ 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.325751543045044 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 Sat Jul 5 14:02: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/1751716947_4099140_1370794045_594e00a6afe7d176c9e0b2d696fbac92.jpg resize: (1080, 1632) 1370794045 -5.314237243686551 treat image : temp/1751716947_4099140_1370794043_a92d4a24f41b634c9ca3441fe86766c8.jpg resize: (1080, 1632) 1370794043 -5.314237243686551 treat image : temp/1751716947_4099140_1370794041_224b19c0c48ed6aa7170d684a1f86198.jpg resize: (1080, 1632) 1370794041 -5.313871758941128 treat image : temp/1751716947_4099140_1370794038_8ded935312efc9ccb305866bdc207b45.jpg resize: (1080, 1632) 1370794038 -5.313871758941128 treat image : temp/1751716947_4099140_1370794036_3da9afef1d26bcc66344c5478e0a278c.jpg resize: (1080, 1632) 1370794036 -5.314191019095946 treat image : temp/1751716947_4099140_1370794035_ba71f5cd8b309cccbd285940cb3fd872.jpg resize: (1080, 1632) 1370794035 -5.314191019095946 treat image : temp/1751716947_4099140_1370794033_338c82e1fcd6045a3e29e36ccfd1f85b.jpg resize: (1080, 1632) 1370794033 -5.3238921505402335 treat image : temp/1751716947_4099140_1370794032_2acd32bb06b708726937c8856f70c64f.jpg resize: (1080, 1632) 1370794032 -5.3238921505402335 treat image : temp/1751716947_4099140_1370794030_f1f5d927a04a21393503f0c08736a719.jpg resize: (1080, 1632) 1370794030 -5.3289091000285405 treat image : temp/1751716947_4099140_1370794023_fbec66e74d4e013fbc3c804ee6f37441.jpg resize: (1080, 1632) 1370794023 -5.3289091000285405 treat image : temp/1751716947_4099140_1370794000_20ee4d2b1e168a97cd36d9392fcf7b23.jpg resize: (1080, 1632) 1370794000 -5.3270504423570815 treat image : temp/1751716947_4099140_1370793994_2c751205d046dac405785ebd6e9649ee.jpg resize: (1080, 1632) 1370793994 -5.3270504423570815 treat image : temp/1751716947_4099140_1370793874_2503fcf05d3f96e1772882b737b2b174.jpg resize: (1080, 1632) 1370793874 -5.329679563529163 treat image : temp/1751716947_4099140_1370793868_56bb66401d7332d1e576dcebca0b3e9b.jpg resize: (1080, 1632) 1370793868 -5.328645443715058 treat image : temp/1751716947_4099140_1370793789_ec60ab0f09795038048500e6ce40f1d0.jpg resize: (1080, 1632) 1370793789 -5.32385291199049 treat image : temp/1751716947_4099140_1370793717_bf5664b35327bd5f67198fffd6d91f1f.jpg resize: (1080, 1632) 1370793717 -5.328656029447029 treat image : temp/1751716947_4099140_1370793657_2a6ee5112c3f7b90c6eab4b7a2e6d523.jpg resize: (1080, 1632) 1370793657 -5.337777885686255 treat image : temp/1751716947_4099140_1370793653_0262d63a2aebcb963a082885f6906828.jpg resize: (1080, 1632) 1370793653 -5.314057719688748 treat image : temp/1751716947_4099140_1370793413_a4a91058cd05b2df9b7e10c4b2b23c1e.jpg resize: (1080, 1632) 1370793413 -5.303077850233112 treat image : temp/1751716947_4099140_1370793376_338212c357b5ba41f23a9cbda492a9b4.jpg resize: (1080, 1632) 1370793376 -5.276799963406027 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.01441645622253418 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.011967897415161133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013825178146362305 save missing photos in datou_result : time spend for datou_step_exec : 14.939188003540039 time spend to save output : 0.04466104507446289 total time spend for step 1 : 14.983849048614502 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 3.89system 0:19.74elapsed 89%CPU (0avgtext+0avgdata 138516maxresident)k 0inputs+10256outputs (3major+260024minor)pagefaults 0swaps