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 : 592210 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 : 1388>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/592210/ 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.6415281295776367 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 Aug 12 10:37: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/1754987846_592210_1376576894_88419db9c255303032d06432bd4164be.jpg resize: (1080, 1632) 1376576894 -5.781312147646062 treat image : temp/1754987846_592210_1376576875_726d372f51ed3a1099f5810e0c095a0e.jpg resize: (1080, 1632) 1376576875 -5.245092982211315 treat image : temp/1754987846_592210_1376576861_463644449d215b7a15eae832e10f4fd4.jpg resize: (1080, 1632) 1376576861 -5.432630508939183 treat image : temp/1754987846_592210_1376570316_26a85b4cd16a29b7c9af1ea8ec7e4f52.jpg resize: (1080, 1632) 1376570316 -5.266558183696437 treat image : temp/1754987846_592210_1376570314_53e3e66343a2c096564ed1ad69074405.jpg resize: (1080, 1632) 1376570314 -5.586683416442645 treat image : temp/1754987846_592210_1376570312_1f18aab03121ed17a367ebce7ded40da.jpg resize: (1080, 1632) 1376570312 -4.174299275354582 treat image : temp/1754987846_592210_1376570310_8fafa649e0fb0df34b33c7adf35506a2.jpg resize: (1080, 1632) 1376570310 -4.103327858097403 treat image : temp/1754987846_592210_1376570288_ad698679c1a1821d6e9a2c1b111634da.jpg resize: (1080, 1632) 1376570288 -1.1970304302691777 treat image : temp/1754987846_592210_1376570285_66c64dc5700df3bf1efe16c7b599ddb8.jpg resize: (1080, 1632) 1376570285 -0.6059903294353134 treat image : temp/1754987846_592210_1376570281_72feb730475c46d9e7d2af3f98b4f76f.jpg resize: (1080, 1632) 1376570281 -4.4824793188297605 treat image : temp/1754987846_592210_1376570278_b80df40a0ddbe5b7ee2ed543f2b3cb5b.jpg resize: (1080, 1632) 1376570278 -5.176456788501531 treat image : temp/1754987846_592210_1376570274_d8e26d996e73a1e6a5a846e06dc9d82e.jpg resize: (1080, 1632) 1376570274 -5.356727277951634 treat image : temp/1754987846_592210_1376570272_c2057b3850bed47e038d2bb92faa3105.jpg resize: (1080, 1632) 1376570272 -5.646473511931983 treat image : temp/1754987846_592210_1376570251_a1722fad1dc11e4f84c898129179dee6.jpg resize: (1080, 1632) 1376570251 -5.238197891810419 treat image : temp/1754987846_592210_1376570249_59259e0e50c0d0210724ff6e0172c16d.jpg resize: (1080, 1632) 1376570249 -4.681535369693987 treat image : temp/1754987846_592210_1376570247_223ad4888f78094890379ce5d6a6458a.jpg resize: (1080, 1632) 1376570247 -5.04012635913692 treat image : temp/1754987846_592210_1376570242_b7c320ef6e8a96d2e80151865a19f0e7.jpg resize: (1080, 1632) 1376570242 -4.731234267269616 treat image : temp/1754987846_592210_1376570224_6721d29a228ce87d32c734d8cc3ac6d7.jpg resize: (1080, 1632) 1376570224 -1.331990125479269 treat image : temp/1754987846_592210_1376570219_a9b2d92c86f7e2b07a357d66399464ec.jpg resize: (1080, 1632) 1376570219 -6.411587500298695 treat image : temp/1754987846_592210_1376570217_fa89b738b61d99df1fc38414fd8c7982.jpg resize: (1080, 1632) 1376570217 -5.295951994101098 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.014725446701049805 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.0148468017578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017868995666503906 save missing photos in datou_result : time spend for datou_step_exec : 18.568584203720093 time spend to save output : 0.05200910568237305 total time spend for step 1 : 18.620593309402466 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 6.62system 0:23.02elapsed 93%CPU (0avgtext+0avgdata 139340maxresident)k 328inputs+9600outputs (8major+203203minor)pagefaults 0swaps