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 : 1383950 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 : 2674>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1383950/ 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 : 3.3717939853668213 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 Sep 9 16:17:31 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/1757427448_1383950_1382781930_815ae38ee5c91eb50188eb5f5f3a24c9.jpg resize: (1080, 1632) 1382781930 -5.534086623494778 treat image : temp/1757427448_1383950_1382781917_5704c732d14440ed5d1f2e86351d9f07.jpg resize: (1080, 1632) 1382781917 -4.88909678932362 treat image : temp/1757427448_1383950_1382781914_0a69da086ab49c92139bf2eb9c0a7a5b.jpg resize: (1080, 1632) 1382781914 -5.2742365331938075 treat image : temp/1757427448_1383950_1382781895_9624529a60663a8811e280f82b83b467.jpg resize: (1080, 1632) 1382781895 -5.517217333465443 treat image : temp/1757427448_1383950_1382781883_e927b758062bb1ec3bc5f95962c9b66b.jpg resize: (1080, 1632) 1382781883 -1.3923178461380183 treat image : temp/1757427448_1383950_1382781874_cd3c8d93f19eba52b03983c9447fe3e9.jpg resize: (1080, 1632) 1382781874 -3.051556613728942 treat image : temp/1757427448_1383950_1382781868_ead6b0632eef3e6eda6215abf655b364.jpg resize: (1080, 1632) 1382781868 -3.466715847453258 treat image : temp/1757427448_1383950_1382781687_15749b0aa5c15e2efb733482b227e00d.jpg resize: (1080, 1632) 1382781687 -2.850856474475264 treat image : temp/1757427448_1383950_1382781682_79f829e70ae45c49c2eb008e5ae29eb5.jpg resize: (1080, 1632) 1382781682 -3.7258562266921276 treat image : temp/1757427448_1383950_1382781678_b44cc0f2afb49ee92837fa7e1c4b2298.jpg resize: (1080, 1632) 1382781678 -6.39595238341062 treat image : temp/1757427448_1383950_1382781674_69b78bfc479eae07f6bf2ebf714db190.jpg resize: (1080, 1632) 1382781674 -5.082485665553599 treat image : temp/1757427448_1383950_1382781672_281612623b34fd49d65e3932324ead86.jpg resize: (1080, 1632) 1382781672 -1.6795260604068618 treat image : temp/1757427448_1383950_1382781667_ae2585f5cb248ac7260f6c2588d178a1.jpg resize: (1080, 1632) 1382781667 -1.992045116610509 treat image : temp/1757427448_1383950_1382781662_036ba517061483754e96fabd41cf16ad.jpg resize: (1080, 1632) 1382781662 -2.1220787390930957 treat image : temp/1757427448_1383950_1382781654_7497beb2a435a6a011dde6d704c81d6c.jpg resize: (1080, 1632) 1382781654 -5.0607511170089285 treat image : temp/1757427448_1383950_1382781652_602f993b6a939a9159be9190be1a07e5.jpg resize: (1080, 1632) 1382781652 -4.840415923640662 treat image : temp/1757427448_1383950_1382781648_0fcff7fc23c0a1e8213fe79fddd2c7dd.jpg resize: (1080, 1632) 1382781648 -3.9239379277834545 treat image : temp/1757427448_1383950_1382781642_6ca18235bc83544930f7447b09769d27.jpg resize: (1080, 1632) 1382781642 -5.38972558559582 treat image : temp/1757427448_1383950_1382781543_029b6b8c14a78e855280fc77ec213ebf.jpg resize: (1080, 1632) 1382781543 -5.93930126505331 treat image : temp/1757427448_1383950_1382781542_eb9b31a273acc635efe92f3e356f1e7a.jpg resize: (1080, 1632) 1382781542 -1.4915933320548018 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.048197269439697266 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.04423403739929199 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0564732551574707 save missing photos in datou_result : time spend for datou_step_exec : 14.314399242401123 time spend to save output : 0.1698000431060791 total time spend for step 1 : 14.484199285507202 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.65user 3.06system 0:22.00elapsed 75%CPU (0avgtext+0avgdata 138496maxresident)k 0inputs+9312outputs (7major+259626minor)pagefaults 0swaps