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 : 520480 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 : 7592>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/520480/ 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.2044780254364014 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 07:57: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/1754027848_520480_1374720580_7123633b6484691b7b3c77042eebf8e8.jpg resize: (1080, 1632) 1374720580 -2.7472516783438694 treat image : temp/1754027848_520480_1374720579_da68cc8c01e37a3aca8c4d3743917fa0.jpg resize: (1080, 1632) 1374720579 -3.63511516599233 treat image : temp/1754027848_520480_1374720578_197d57fd8d6780f1c8e756d48c2db8b6.jpg resize: (1080, 1632) 1374720578 -5.606750691550794 treat image : temp/1754027848_520480_1374720577_b91bc616f3b5d0aa8b433d8f286b8dc1.jpg resize: (1080, 1632) 1374720577 -4.673656669909309 treat image : temp/1754027848_520480_1374720576_b112c915ea5e493f15cf37b9b40fd2c7.jpg resize: (1080, 1632) 1374720576 -1.199912547755984 treat image : temp/1754027848_520480_1374720575_44b1636009c9c84d70bc2fb3ed994e3a.jpg resize: (1080, 1632) 1374720575 -2.6671845026062386 treat image : temp/1754027848_520480_1374720573_0220119da9e47d2370d53ed130b323e3.jpg resize: (1080, 1632) 1374720573 -2.3550014873810543 treat image : temp/1754027848_520480_1374720572_592cf14064f6b00f31017b915f2a7976.jpg resize: (1080, 1632) 1374720572 -2.674730800839935 treat image : temp/1754027848_520480_1374720569_8d3e0a03e1caad69c90be6824a8e95c7.jpg resize: (1080, 1632) 1374720569 -6.111925248926331 treat image : temp/1754027848_520480_1374720567_9289d5c51b727306ca42f75c6a9bd093.jpg resize: (1080, 1632) 1374720567 -3.8333376454792782 treat image : temp/1754027848_520480_1374720565_dc7aa6d6fb015daa6637ff6ac1409a67.jpg resize: (1080, 1632) 1374720565 -4.5652722545515 treat image : temp/1754027848_520480_1374720563_1b39cdc9bcc54f75378c827c10d26bae.jpg resize: (1080, 1632) 1374720563 -2.293069998019394 treat image : temp/1754027848_520480_1374720561_d9a60a41b8ca66bb44ebcc78c5f9acc5.jpg resize: (1080, 1632) 1374720561 -4.395118929049491 treat image : temp/1754027848_520480_1374720560_3c4e19ecb7eba0c37322462b259b22a3.jpg resize: (1080, 1632) 1374720560 -3.286211485421377 treat image : temp/1754027848_520480_1374720559_09c90f6a2310d6cfbf656545bcd60e15.jpg resize: (1080, 1632) 1374720559 -5.19902939515196 treat image : temp/1754027848_520480_1374720558_cabedca6a0d4051e1da65cf987547acf.jpg resize: (1080, 1632) 1374720558 -3.8746907611667885 treat image : temp/1754027848_520480_1374720557_97b79c29f58559582d0e92befef28128.jpg resize: (1080, 1632) 1374720557 -1.2570935054844696 treat image : temp/1754027848_520480_1374720556_ac75b31025f1f5a246464b0a34e317a8.jpg resize: (1080, 1632) 1374720556 -2.03599531658321 treat image : temp/1754027848_520480_1374720550_e72768b13a96e9b80bd57a07c828ad26.jpg resize: (1080, 1632) 1374720550 -4.453141087516845 treat image : temp/1754027848_520480_1374720548_950a92562f76542c17dee596d9db0b37.jpg resize: (1080, 1632) 1374720548 -4.634587683731355 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.017421960830688477 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.07998228073120117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08694005012512207 save missing photos in datou_result : time spend for datou_step_exec : 14.43623423576355 time spend to save output : 0.1894981861114502 total time spend for step 1 : 14.625732421875 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.75user 2.98system 0:19.32elapsed 86%CPU (0avgtext+0avgdata 139644maxresident)k 0inputs+8296outputs (13major+257134minor)pagefaults 0swaps