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 : 1835468 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 : 1718>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1835468/ 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.4933078289031982 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 May 13 08:42: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/1747118549_1835468_1357781698_0da9d732702c9dc7193f4918a944d7cc.jpg resize: (1080, 1632) 1357781698 -5.37472519919272 treat image : temp/1747118549_1835468_1357781672_c5546df4c73d0556b61b3fc375f9fca8.jpg resize: (1080, 1632) 1357781672 -5.7114029788264675 treat image : temp/1747118549_1835468_1357781644_cdeef9b709a7e460fe26ab00e0988745.jpg resize: (1080, 1632) 1357781644 -5.970393444979089 treat image : temp/1747118549_1835468_1357781222_9e9738d2ba4f01d47ad526d868172950.jpg resize: (1080, 1632) 1357781222 -5.879019590373507 treat image : temp/1747118549_1835468_1357780971_b4dcaccfe67adc5134ce20b87f099ae5.jpg resize: (1080, 1632) 1357780971 -5.145479213908863 treat image : temp/1747118549_1835468_1357780811_4e01fcef274c24881e3ca245ae713665.jpg resize: (1080, 1632) 1357780811 -5.866124914006389 treat image : temp/1747118549_1835468_1357780759_786312fc0410e6117e18c3a6701fc10e.jpg resize: (1080, 1632) 1357780759 -5.160256622678934 treat image : temp/1747118549_1835468_1357780749_76c6d302d3f568fff7664f8eeda2c914.jpg resize: (1080, 1632) 1357780749 -5.283748038906578 treat image : temp/1747118549_1835468_1357780577_89a44288eb1117bfc2e4652fb5060920.jpg resize: (1080, 1632) 1357780577 -5.15231223022347 treat image : temp/1747118549_1835468_1357780576_3fa2488e819b5d0314772f772edcb994.jpg resize: (1080, 1632) 1357780576 -5.15231223022347 treat image : temp/1747118549_1835468_1357780521_f8a17c6fe8a02472f9c73f31ea5d7ae1.jpg resize: (1080, 1632) 1357780521 -5.473357835969153 treat image : temp/1747118549_1835468_1357780513_8a5f2a58523af5515524e631d56641a7.jpg resize: (1080, 1632) 1357780513 -5.473357835969153 treat image : temp/1747118549_1835468_1357780445_141a76804c414e4582296c6285840f2c.jpg resize: (1080, 1632) 1357780445 -4.902611375219817 treat image : temp/1747118549_1835468_1357780433_14dde195dabee3e48e0efd4255830272.jpg resize: (1080, 1632) 1357780433 -4.902611375219817 treat image : temp/1747118549_1835468_1357780372_eab7c10f85556002781f446ff5d73a45.jpg resize: (1080, 1632) 1357780372 -5.460495206126853 treat image : temp/1747118549_1835468_1357780370_a7d3b5d169c4baaa0d95b375b9f7ccac.jpg resize: (1080, 1632) 1357780370 -5.460495206126853 treat image : temp/1747118549_1835468_1357780256_6ab6dc752f303034ec365bad7d83a437.jpg resize: (1080, 1632) 1357780256 -5.15231223022347 treat image : temp/1747118549_1835468_1357780230_548795e3b210345cf33ee5f5b8acef0f.jpg resize: (1080, 1632) 1357780230 -5.473357835969153 treat image : temp/1747118549_1835468_1357780208_a829a8615cccf78802de7e2c8b3252ac.jpg resize: (1080, 1632) 1357780208 -4.902611375219817 treat image : temp/1747118549_1835468_1357780168_68b38010a2e50d0b47e1c66016272303.jpg resize: (1080, 1632) 1357780168 -5.460495206126853 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.012590408325195312 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.022008419036865234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017882108688354492 save missing photos in datou_result : time spend for datou_step_exec : 16.462186098098755 time spend to save output : 0.05774998664855957 total time spend for step 1 : 16.519936084747314 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.23user 3.91system 0:22.74elapsed 84%CPU (0avgtext+0avgdata 139116maxresident)k 216inputs+10608outputs (7major+256121minor)pagefaults 0swaps