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 : 2649440 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 : 6762>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/2649440/ 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.391942262649536 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 00:42: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/1751668947_2649440_1370716298_27860075e5d330ff7b27992169ca510c.jpg resize: (1080, 1632) 1370716298 -4.119680325193466 treat image : temp/1751668947_2649440_1370716297_3910ca41f82740c3913223e7bab276f3.jpg resize: (1080, 1632) 1370716297 -4.118821812345374 treat image : temp/1751668947_2649440_1370716292_5b9e8bf54830aed0b327b96f15566ddf.jpg resize: (1080, 1632) 1370716292 -4.129366103816368 treat image : temp/1751668947_2649440_1370716289_79f8f7ed02922ed5bfd09b1dd30ec4a2.jpg resize: (1080, 1632) 1370716289 -4.163771887354199 treat image : temp/1751668947_2649440_1370716286_5e94812c8a94ae81a96b196365aca986.jpg resize: (1080, 1632) 1370716286 -4.131147744226726 treat image : temp/1751668947_2649440_1370716281_110fef65131d0347db385f37a93707b1.jpg resize: (1080, 1632) 1370716281 -4.022296280900034 treat image : temp/1751668947_2649440_1370716200_489e8183073bceb7c5601377ac60510d.jpg resize: (1080, 1632) 1370716200 -3.9790860700455015 treat image : temp/1751668947_2649440_1370716195_754c87655a3342e88767a7e4565167ff.jpg resize: (1080, 1632) 1370716195 -3.9405731792863525 treat image : temp/1751668947_2649440_1370716189_66bd649160fc02e5e81855e9d088a717.jpg resize: (1080, 1632) 1370716189 -4.023218778567014 treat image : temp/1751668947_2649440_1370716181_bd5d89e055a97d766697c85ebf7c7e69.jpg resize: (1080, 1632) 1370716181 -3.989642091930029 treat image : temp/1751668947_2649440_1370716154_1083ab6d901ee840ed9450b2443cecd9.jpg resize: (1080, 1632) 1370716154 -3.9876140775101123 treat image : temp/1751668947_2649440_1370716151_6042c78345db5cd577d63c1d5c07c457.jpg resize: (1080, 1632) 1370716151 -4.000575427300037 treat image : temp/1751668947_2649440_1370716027_9645dd3b3d64e31aa48ebf5e38ab8aab.jpg resize: (1080, 1632) 1370716027 -3.9953884408877762 treat image : temp/1751668947_2649440_1370715992_4b52b7b30d134309c8f12d49a32cbe18.jpg resize: (1080, 1632) 1370715992 -4.035152201729561 treat image : temp/1751668947_2649440_1370715981_fb7bb2a0f9185d0423bbe735e4df8b1f.jpg resize: (1080, 1632) 1370715981 -4.031399199971334 treat image : temp/1751668947_2649440_1370715967_8aecbcb638d950a69970e83457584ec4.jpg resize: (1080, 1632) 1370715967 -4.07734623449318 treat image : temp/1751668947_2649440_1370715945_2479906d0dbccfbb7e2c98c63e4876f6.jpg resize: (1080, 1632) 1370715945 -4.096402060251547 treat image : temp/1751668947_2649440_1370715912_6f972ec66917843369da6fb480b816c1.jpg resize: (1080, 1632) 1370715912 -4.119004826132195 treat image : temp/1751668947_2649440_1370715224_90fd2b4e74219e8bea976ed6cc39dc0b.jpg resize: (1080, 1632) 1370715224 -4.140611826444209 treat image : temp/1751668947_2649440_1370715221_fff3d0654b949490474c858b1650f7d8.jpg resize: (1080, 1632) 1370715221 -4.168354380843373 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.013593673706054688 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.016047239303588867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02186727523803711 save missing photos in datou_result : time spend for datou_step_exec : 16.118170022964478 time spend to save output : 0.05617332458496094 total time spend for step 1 : 16.17434334754944 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.88user 4.61system 0:20.20elapsed 91%CPU (0avgtext+0avgdata 138132maxresident)k 424inputs+8264outputs (16major+256662minor)pagefaults 0swaps