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 : 256004 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 : 8195>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/256004/ 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.3993735313415527 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 Jul 11 20:52:30 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/1752259947_256004_1371663158_a01ac9a5b10ac5811d270dee30c1f752.jpg resize: (1080, 1632) 1371663158 -5.288347622858354 treat image : temp/1752259947_256004_1371663153_16f8f0d26232ba15ca01e887cc03feca.jpg resize: (1080, 1632) 1371663153 -5.2930962610258785 treat image : temp/1752259947_256004_1371663145_fd7dd30e5ed78786327977c798570bd3.jpg resize: (1080, 1632) 1371663145 -5.2703919660014575 treat image : temp/1752259947_256004_1371663140_3e379d63c1a69d371b09cd4882fcf4da.jpg resize: (1080, 1632) 1371663140 -5.255584693851694 treat image : temp/1752259947_256004_1371663137_bcc2921ce4e81ec74010cb4af6ecdd4f.jpg resize: (1080, 1632) 1371663137 -5.246652240914173 treat image : temp/1752259947_256004_1371663133_e2a7af5c9f0bf71b96a3219508a24181.jpg resize: (1080, 1632) 1371663133 -5.262227665634991 treat image : temp/1752259947_256004_1371663096_2cc3a05c14982d48b5e0f2ebfeacef15.jpg resize: (1080, 1632) 1371663096 -5.138765007936962 treat image : temp/1752259947_256004_1371663079_1598e579fe309bf2cad865b2ff999134.jpg resize: (1080, 1632) 1371663079 -5.116295456130114 treat image : temp/1752259947_256004_1371663075_e60085caaca9e988852d43b08a81b8bd.jpg resize: (1080, 1632) 1371663075 -5.113083632785532 treat image : temp/1752259947_256004_1371663047_c62c011617c2e1a48b69a08b6aef1a58.jpg resize: (1080, 1632) 1371663047 -5.098919451738318 treat image : temp/1752259947_256004_1371663013_619926a8f000ebca4847ed5b3bbc35ee.jpg resize: (1080, 1632) 1371663013 -5.1011210998390375 treat image : temp/1752259947_256004_1371662976_eac47c7a95a6c8f3b764f4bfd0923127.jpg resize: (1080, 1632) 1371662976 -5.107937780425744 treat image : temp/1752259947_256004_1371662398_0356d04b3ce726d6177bfb123f21db28.jpg resize: (1080, 1632) 1371662398 -5.312013680069892 treat image : temp/1752259947_256004_1371662390_e5ef8b9c7c98d04b3fd73dca21be689c.jpg resize: (1080, 1632) 1371662390 -5.2980132005900105 treat image : temp/1752259947_256004_1371662380_29f11c20af9ebf8fcfc74217254fa6a5.jpg resize: (1080, 1632) 1371662380 -5.292784658975754 treat image : temp/1752259947_256004_1371662376_7fddadb4ace559bca893f4f80e41a7b0.jpg resize: (1080, 1632) 1371662376 -5.266787518596334 treat image : temp/1752259947_256004_1371662370_864ddea084c7ad3885b592f83d06086b.jpg resize: (1080, 1632) 1371662370 -5.118032246536896 treat image : temp/1752259947_256004_1371662366_e0efc22b4f34191f26397f925ce796c4.jpg resize: (1080, 1632) 1371662366 -5.120600227898216 treat image : temp/1752259947_256004_1371662358_78863e1a74141b3206f6b6648e0e6e87.jpg resize: (1080, 1632) 1371662358 -5.114747175677146 treat image : temp/1752259947_256004_1371662328_b736684279afbf7ffe33cf25b480c0dd.jpg resize: (1080, 1632) 1371662328 -5.129740512413017 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.01246786117553711 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.012705802917480469 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014425039291381836 save missing photos in datou_result : time spend for datou_step_exec : 16.501617670059204 time spend to save output : 0.044396162033081055 total time spend for step 1 : 16.546013832092285 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.64user 4.16system 0:22.21elapsed 84%CPU (0avgtext+0avgdata 139784maxresident)k 144inputs+10208outputs (2major+261204minor)pagefaults 0swaps