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 : 2030628 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 : 6324>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/2030628/ 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.1338601112365723 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 23:32: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/1751491947_2030628_1370164654_99ca386ec70f5c0ac2f2558e52b34aa2.jpg resize: (1080, 1632) 1370164654 -3.4926444065749562 treat image : temp/1751491947_2030628_1370164630_a0b83a26bb3a2fd504b678523158b577.jpg resize: (1080, 1632) 1370164630 -5.5096542939893665 treat image : temp/1751491947_2030628_1370164621_8a1d8d2f092b5bba863a1aa89335566d.jpg resize: (1080, 1632) 1370164621 -5.20914506762143 treat image : temp/1751491947_2030628_1370164605_390bad9b5941c518efe471b2fc024a47.jpg resize: (1080, 1632) 1370164605 -5.216745059355005 treat image : temp/1751491947_2030628_1370164549_a56640206383364b39ee427ffbf5165a.jpg resize: (1080, 1632) 1370164549 -5.191112684233772 treat image : temp/1751491947_2030628_1370164511_0a4d4048e8c94b059fc0e0546367f866.jpg resize: (1080, 1632) 1370164511 -5.866144315274567 treat image : temp/1751491947_2030628_1370164332_f23862c3b50acad4ead8a086ec701a97.jpg resize: (1080, 1632) 1370164332 -0.24371926861270737 treat image : temp/1751491947_2030628_1370164271_0c2136bb0c4de7fe320574d78a59a1d1.jpg resize: (1080, 1632) 1370164271 -2.614382506020729 treat image : temp/1751491947_2030628_1370164205_f431a36b16d5e41871a215bf86d71c18.jpg resize: (1080, 1632) 1370164205 -2.8751692462358305 treat image : temp/1751491947_2030628_1370164166_5cd02f8c04770f0e453905f91a282415.jpg resize: (1080, 1632) 1370164166 -2.0041257232195773 treat image : temp/1751491947_2030628_1370164124_77af22354ef23ce788e2375d0a10aacc.jpg resize: (1080, 1632) 1370164124 -2.6730886091247053 treat image : temp/1751491947_2030628_1370164107_546bab72c1eeacc56bffc470207a2a46.jpg resize: (1080, 1632) 1370164107 -4.474024771860868 treat image : temp/1751491947_2030628_1370164075_c31a85eabc8aaabe786581956ecbf213.jpg resize: (1080, 1632) 1370164075 -5.829828324441346 treat image : temp/1751491947_2030628_1370164074_a7ed8ca1741d3df707de430c57fbb8fd.jpg resize: (1080, 1632) 1370164074 -2.594702378081443 treat image : temp/1751491947_2030628_1370164071_f688f03becfca42abb4ba7fc399e27ae.jpg resize: (1080, 1632) 1370164071 -2.0546079139885856 treat image : temp/1751491947_2030628_1370164064_4bf7cf5b10597380f198554c61181087.jpg resize: (1080, 1632) 1370164064 -2.0894308214432926 treat image : temp/1751491947_2030628_1370164058_c1af2b6af89b522ae3a1c061ce72bfa0.jpg resize: (1080, 1632) 1370164058 -3.1508715687358975 treat image : temp/1751491947_2030628_1370164032_4e72ac889f4062e3d5ddd0ffdc60d570.jpg resize: (1080, 1632) 1370164032 -3.3684069972910216 treat image : temp/1751491947_2030628_1370162624_6e27d92ac106f7937ef30002369e86fb.jpg resize: (1080, 1632) 1370162624 -5.8388688465915655 treat image : temp/1751491947_2030628_1370162605_2f1f13b9d80155d50b611ccf8158d859.jpg resize: (1080, 1632) 1370162605 -5.832149053806656 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.01683354377746582 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.016047954559326172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015870332717895508 save missing photos in datou_result : time spend for datou_step_exec : 16.847873210906982 time spend to save output : 0.05299973487854004 total time spend for step 1 : 16.900872945785522 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 5.40system 0:21.30elapsed 92%CPU (0avgtext+0avgdata 139916maxresident)k 5496inputs+8552outputs (66major+258825minor)pagefaults 0swaps