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 : 3912847 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 : 3094>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3912847/ 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.628366708755493 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 Mon May 12 21:07: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/1747076848_3912847_1357655338_d0edf69f5e55c0add946eae7aad40957.jpg resize: (1080, 1632) 1357655338 -5.685926682561796 treat image : temp/1747076848_3912847_1357655288_880cd3ad05326edd3f9c3010caa10abb.jpg resize: (1080, 1632) 1357655288 -5.1815283096575095 treat image : temp/1747076848_3912847_1357655040_88ca75ca2d2367668a8c647ec902862c.jpg resize: (1080, 1632) 1357655040 -5.2519871614545215 treat image : temp/1747076848_3912847_1357655038_e32e79006366c96d85194995369bba59.jpg resize: (1080, 1632) 1357655038 -0.80301546978843 treat image : temp/1747076848_3912847_1357655014_b1c34b003631c64eeee32d91af5709cd.jpg resize: (1080, 1632) 1357655014 -1.2509845605189882 treat image : temp/1747076848_3912847_1357654979_93bdc3c23304cb5dab7cadce175904fd.jpg resize: (1080, 1632) 1357654979 -3.0012318998621343 treat image : temp/1747076848_3912847_1357654842_bb4aac4cb775f6093936310506129493.jpg resize: (1080, 1632) 1357654842 -3.533777832183265 treat image : temp/1747076848_3912847_1357654816_1289d6bf2588659b86547691c61a67eb.jpg resize: (1080, 1632) 1357654816 -5.520231108587871 treat image : temp/1747076848_3912847_1357654745_ece9aca45d3ed9cc06a12b363f51fa6d.jpg resize: (1080, 1632) 1357654745 -5.98896273070501 treat image : temp/1747076848_3912847_1357654712_038ae55019f0d071331a0b0ce651fdc1.jpg resize: (1080, 1632) 1357654712 -6.169678225437864 treat image : temp/1747076848_3912847_1357654682_420e2889f6c610e08d2cad374d3214a3.jpg resize: (1080, 1632) 1357654682 -6.130172675891448 treat image : temp/1747076848_3912847_1357654652_5b5132d5d29bf89f7ff18c99b1ea1c84.jpg resize: (1080, 1632) 1357654652 -3.4407514500268364 treat image : temp/1747076848_3912847_1357654215_628558636c6c6512cfb740ac688623e8.jpg resize: (1080, 1632) 1357654215 -2.2478019325361625 treat image : temp/1747076848_3912847_1357654169_5c42c3639be3f4b686a9c7bcdbfc31d8.jpg resize: (1080, 1632) 1357654169 -1.81721824172296 treat image : temp/1747076848_3912847_1357654124_3ac93cd27d0fc8fbbd93ec18ff5e867d.jpg resize: (1080, 1632) 1357654124 -1.5592727031486324 treat image : temp/1747076848_3912847_1357654095_7194db8ebbb7f0fe60ce0a09e66e2b56.jpg resize: (1080, 1632) 1357654095 -5.245543992286538 treat image : temp/1747076848_3912847_1357654042_73c3056f99cb013ebb5da14a7f9ef05b.jpg resize: (1080, 1632) 1357654042 -5.3747149287870855 treat image : temp/1747076848_3912847_1357652867_31ef1347d7c8635c8c04c0ea5d8bab77.jpg resize: (1080, 1632) 1357652867 -0.9554107071529515 treat image : temp/1747076848_3912847_1357652612_f10209af8d5585ae5c04f9fa53fd9c86.jpg resize: (1080, 1632) 1357652612 -5.88472115825205 treat image : temp/1747076848_3912847_1357652608_1ee1144f0c69957bb7e9bbbab6e0a062.jpg resize: (1080, 1632) 1357652608 -5.998816052716357 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.0163726806640625 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.014929533004760742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01792740821838379 save missing photos in datou_result : time spend for datou_step_exec : 16.31701350212097 time spend to save output : 0.05494570732116699 total time spend for step 1 : 16.37195920944214 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 3.71system 0:20.77elapsed 90%CPU (0avgtext+0avgdata 139724maxresident)k 8inputs+9304outputs (2major+255255minor)pagefaults 0swaps