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 : 658701 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 : 8491>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/658701/ 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.189997434616089 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 Fri Aug 1 09:22:32 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/1754032949_658701_1374688538_4acf20ab7894f5f8db889c3ad46e0b73.jpg resize: (1080, 1632) 1374688538 -5.42514640068675 treat image : temp/1754032949_658701_1374688511_2210e26750167bb739d5a901f20af524.jpg resize: (1080, 1632) 1374688511 -5.539063623469841 treat image : temp/1754032949_658701_1374688482_0266da4a28ee9ce0ed6268cd0f41b11a.jpg resize: (1080, 1632) 1374688482 -2.526941186039328 treat image : temp/1754032949_658701_1374688382_a1764f140fe451fa8f2e5a1721d437d3.jpg resize: (1080, 1632) 1374688382 -4.327134663745457 treat image : temp/1754032949_658701_1374688266_970d741fa0b37174a8d38ce803914e81.jpg resize: (1080, 1632) 1374688266 -5.549164140262502 treat image : temp/1754032949_658701_1374686771_6ce93d4798ac8a90df62baf7626e0bee.jpg resize: (1080, 1632) 1374686771 -4.372551769253098 treat image : temp/1754032949_658701_1374686715_8a610721df464f278d6606c5f28fe5eb.jpg resize: (1080, 1632) 1374686715 -5.917373990161404 treat image : temp/1754032949_658701_1374686689_eaecf694c810aa3aa0cac431b9e2e4f9.jpg resize: (1080, 1632) 1374686689 -5.279259302326541 treat image : temp/1754032949_658701_1374686638_0a5552debae05aeb47f2416047f40b22.jpg resize: (1080, 1632) 1374686638 -1.3753643765060957 treat image : temp/1754032949_658701_1374684910_c72e1f96d09cd2b92fdb41758ec2f469.jpg resize: (1080, 1632) 1374684910 -4.643376189800836 treat image : temp/1754032949_658701_1374684900_88d704769c0566581b0184e0cef70048.jpg resize: (1080, 1632) 1374684900 -5.256900334108827 treat image : temp/1754032949_658701_1374684688_ed5bbcb1e97e0fa38a862887816312f4.jpg resize: (1080, 1632) 1374684688 -5.148693746952869 treat image : temp/1754032949_658701_1374684602_da3f78512a4ae1192ecc74a5d71fac53.jpg resize: (1080, 1632) 1374684602 -1.8135745238694154 treat image : temp/1754032949_658701_1374684163_1e37ff070a598324e290f8fa7532ad76.jpg resize: (1080, 1632) 1374684163 -4.060920278513931 treat image : temp/1754032949_658701_1374684160_13b78b5fd96726a9f8ce5c971e6ffb0b.jpg resize: (1080, 1632) 1374684160 -5.097466893059581 treat image : temp/1754032949_658701_1374684159_7e9b6e157c75d87dbf9403a63d76773c.jpg resize: (1080, 1632) 1374684159 -3.7117671933705942 treat image : temp/1754032949_658701_1374684157_a2222bb9dcd66b8c7b254b62709d5850.jpg resize: (1080, 1632) 1374684157 -4.10780217854607 treat image : temp/1754032949_658701_1374684154_9ef2d309a34f9f213434947e7d666318.jpg resize: (1080, 1632) 1374684154 -4.876454558162294 treat image : temp/1754032949_658701_1374684153_9c6b01cc14a0b3e2bd26ce2d86c3ef9b.jpg resize: (1080, 1632) 1374684153 -1.6866804250477694 treat image : temp/1754032949_658701_1374684074_0c9575c43d234ccc27f1e9a2abaea774.jpg resize: (1080, 1632) 1374684074 -3.6500722820195115 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.01256561279296875 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.06618356704711914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05592823028564453 save missing photos in datou_result : time spend for datou_step_exec : 15.716322422027588 time spend to save output : 0.13953089714050293 total time spend for step 1 : 15.85585331916809 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 4.03system 0:23.21elapsed 79%CPU (0avgtext+0avgdata 139052maxresident)k 136inputs+9360outputs (7major+257703minor)pagefaults 0swaps