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 : 1271135 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 : 2494>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1271135/ 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.1424901485443115 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 4 13:37: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/1751629049_1271135_1370607174_b3440575a3b3ac6547b4f98c3ef8958f.jpg resize: (1080, 1632) 1370607174 -4.763307811673701 treat image : temp/1751629049_1271135_1370607173_165e169d5b709025f25c5095051c34dd.jpg resize: (1080, 1632) 1370607173 -4.763307811673701 treat image : temp/1751629049_1271135_1370607165_a404a77c63f0dddfe09bb4eefa8b621b.jpg resize: (1080, 1632) 1370607165 -4.767410777422627 treat image : temp/1751629049_1271135_1370607164_2b1a4149e505c5531aea7acfce193840.jpg resize: (1080, 1632) 1370607164 -4.767410777422627 treat image : temp/1751629049_1271135_1370607159_e00772460a93f3719c839107c27cad52.jpg resize: (1080, 1632) 1370607159 -4.752612063983407 treat image : temp/1751629049_1271135_1370607158_21afb74ab4f981c1d534749918e7e654.jpg resize: (1080, 1632) 1370607158 -4.752612063983407 treat image : temp/1751629049_1271135_1370607147_6ba46527bd1a1dc1cde3487a6ba2762c.jpg resize: (1080, 1632) 1370607147 -1.28788328931887 treat image : temp/1751629049_1271135_1370607146_2da61c9488230fe42508ce4ecc1d1cd1.jpg resize: (1080, 1632) 1370607146 -1.28788328931887 treat image : temp/1751629049_1271135_1370607143_41137a1fd16a533070f4d2d1651a5eea.jpg resize: (1080, 1632) 1370607143 -1.2831893435794128 treat image : temp/1751629049_1271135_1370607142_2ef5433355bc3525bd6a1cc2a09394ff.jpg resize: (1080, 1632) 1370607142 -1.2831893435794128 treat image : temp/1751629049_1271135_1370607139_9c23030ae1ef2c598d3f9030a3e8e024.jpg resize: (1080, 1632) 1370607139 -1.4207181050400597 treat image : temp/1751629049_1271135_1370607138_8125f955f8ae96021fe7f30e42776c2b.jpg resize: (1080, 1632) 1370607138 -1.4207181050400597 treat image : temp/1751629049_1271135_1370607120_7253597031aa1e9af0a9bef85baee91c.jpg resize: (1080, 1632) 1370607120 -4.8147402236657975 treat image : temp/1751629049_1271135_1370607116_8debd386c715a2b6768de5fc148fa34b.jpg resize: (1080, 1632) 1370607116 -4.817436097928393 treat image : temp/1751629049_1271135_1370607100_e9d5bf2d4b9e64c64fcbe496675ff1d2.jpg resize: (1080, 1632) 1370607100 -4.817491610556198 treat image : temp/1751629049_1271135_1370607089_14288f42f2fd0c3a84929572dc1903f3.jpg resize: (1080, 1632) 1370607089 -4.817568071361194 treat image : temp/1751629049_1271135_1370607085_0efc286978f391bc1c2fe50b38e19cff.jpg resize: (1080, 1632) 1370607085 -4.8097350095481035 treat image : temp/1751629049_1271135_1370607082_10d508a5b50ed081557ae10a1ed8082e.jpg resize: (1080, 1632) 1370607082 -4.803261011815445 treat image : temp/1751629049_1271135_1370606003_7e3bee2d8cf990c892118a7af457c41b.jpg resize: (1080, 1632) 1370606003 -4.793237634117235 treat image : temp/1751629049_1271135_1370605961_0044f3295888b97ba3fb265a3a35584c.jpg resize: (1080, 1632) 1370605961 -4.815775800206672 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.03631424903869629 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.03986382484436035 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03952479362487793 save missing photos in datou_result : time spend for datou_step_exec : 15.887725830078125 time spend to save output : 0.1329967975616455 total time spend for step 1 : 16.02072262763977 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 4.33system 0:22.05elapsed 84%CPU (0avgtext+0avgdata 137544maxresident)k 88inputs+7960outputs (0major+257954minor)pagefaults 0swaps