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 : 1917623 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 : 1542>100 please execute split_portfolio.py -i 25656691 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3440425'] with mtr_portfolio_ids : ['25656691'] and first list_photo_ids : [] new path : /proc/1917623/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.1084516048431396 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 5 07:47:29 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/1754372847_1917623_1375217414_963ac387ebfc8325df1d6715e18534fa.jpg resize: (1080, 1632) 1375217414 -5.430179583177464 treat image : temp/1754372847_1917623_1375217413_dc38572ae2113b81fac0463861b2649b.jpg resize: (1080, 1632) 1375217413 -5.430179583177464 treat image : temp/1754372847_1917623_1375217396_3907a9190e9648607a2d6a725ce032d2.jpg resize: (1080, 1632) 1375217396 -5.231441836881421 treat image : temp/1754372847_1917623_1375217389_4e36d380df6eff11b4493e780bda2724.jpg resize: (1080, 1632) 1375217389 -5.231441836881421 treat image : temp/1754372847_1917623_1375217361_cb8a11fb0556ad56ba9693312844d41e.jpg resize: (1080, 1632) 1375217361 -3.708649408086065 treat image : temp/1754372847_1917623_1375217360_32aeaa0560068172a6c07f2f06ea74d0.jpg resize: (1080, 1632) 1375217360 -3.708649408086065 treat image : temp/1754372847_1917623_1375217343_866c6085816b3e55ef9d39c250417d66.jpg resize: (1080, 1632) 1375217343 -4.750102462495621 treat image : temp/1754372847_1917623_1375217341_bc8cd838db3b7780b7276c16c03ebd16.jpg resize: (1080, 1632) 1375217341 -4.750102462495621 treat image : temp/1754372847_1917623_1375217338_46691c269a3dad62d87ed1cba8d1686f.jpg resize: (1080, 1632) 1375217338 -5.636917240905199 treat image : temp/1754372847_1917623_1375217337_d706179353a83706a99c09f51dd6d81f.jpg resize: (1080, 1632) 1375217337 -5.636917240905199 treat image : temp/1754372847_1917623_1375217332_958d121af31d1b8a9df2ad71ba7f10e5.jpg resize: (1080, 1632) 1375217332 -2.427493886373684 treat image : temp/1754372847_1917623_1375217331_2627f596b03194bcde76f6605fd9d36f.jpg resize: (1080, 1632) 1375217331 -2.427493886373684 treat image : temp/1754372847_1917623_1375217193_d7563e95f5c3e9f27bd5fdb15d18017b.jpg resize: (1080, 1632) 1375217193 -5.6370977172833285 treat image : temp/1754372847_1917623_1375217191_b27408ac91173bf2fcf997c460c4f1eb.jpg resize: (1080, 1632) 1375217191 -5.199239173266133 treat image : temp/1754372847_1917623_1375217186_0519e0a854e2bd4c613c5339953623d6.jpg resize: (1080, 1632) 1375217186 -5.430179583177464 treat image : temp/1754372847_1917623_1375217181_72d2bcc74e6eb00d9f1ada073362ee47.jpg resize: (1080, 1632) 1375217181 -5.231441836881421 treat image : temp/1754372847_1917623_1375217177_5ffbe3e01518e29928a3f41d6bf461e4.jpg resize: (1080, 1632) 1375217177 -3.708649408086065 treat image : temp/1754372847_1917623_1375217173_49324d548ceefcecc1517e327a5230e4.jpg resize: (1080, 1632) 1375217173 -4.750102462495621 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 : 18 time used for this insertion : 0.02078986167907715 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.03499031066894531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.0440058708190918 save missing photos in datou_result : time spend for datou_step_exec : 13.143150806427002 time spend to save output : 0.10459303855895996 total time spend for step 1 : 13.247743844985962 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.35user 3.10system 0:18.37elapsed 84%CPU (0avgtext+0avgdata 137892maxresident)k 0inputs+8584outputs (0major+229744minor)pagefaults 0swaps