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 : 3106748 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 : 2069>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/3106748/ 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.258517026901245 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 15:07:28 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/1747141646_3106748_1357850536_e53c74e84b29de45b9a6c219c647d771.jpg resize: (1080, 1632) 1357850536 -5.5008165370671085 treat image : temp/1747141646_3106748_1357850506_02bc237cb98a27b07a9de197738b7484.jpg resize: (1080, 1632) 1357850506 -5.248999581024516 treat image : temp/1747141646_3106748_1357850478_0337d5550d8f3a683cdb59affec3ea28.jpg resize: (1080, 1632) 1357850478 -3.669063545367192 treat image : temp/1747141646_3106748_1357850448_f2b7d51538171619002e28d83697fa65.jpg resize: (1080, 1632) 1357850448 -5.287017371971456 treat image : temp/1747141646_3106748_1357850421_a3ed4fe236462aaabe1bb1cf3831ae58.jpg resize: (1080, 1632) 1357850421 -5.856820005893694 treat image : temp/1747141646_3106748_1357850392_e40eef83b8f1e00a6b538c3fcdc6bac4.jpg resize: (1080, 1632) 1357850392 -0.5287340240318019 treat image : temp/1747141646_3106748_1357850183_85e4ed88b93b5b35a19bcf42335940d6.jpg resize: (1080, 1632) 1357850183 -1.2958111643375463 treat image : temp/1747141646_3106748_1357850178_d6cb983701f84918ca72f1452fe999fd.jpg resize: (1080, 1632) 1357850178 -3.620367523034984 treat image : temp/1747141646_3106748_1357850173_40896bc200445beb5e802cc61a37549a.jpg resize: (1080, 1632) 1357850173 -5.443436286063269 treat image : temp/1747141646_3106748_1357850170_645a7601a3a2d86526693b3d55f003fb.jpg resize: (1080, 1632) 1357850170 -3.764417958986279 treat image : temp/1747141646_3106748_1357850166_e5bef75b390ada9887ad0e3a976bd935.jpg resize: (1080, 1632) 1357850166 -4.530993427942026 treat image : temp/1747141646_3106748_1357850130_4971c8c9d4cb78d98ff752a04a2dfd83.jpg resize: (1080, 1632) 1357850130 -3.279161076785759 treat image : temp/1747141646_3106748_1357850126_5a552cca9dc1629831aef833381f18f6.jpg resize: (1080, 1632) 1357850126 -6.089116007680354 treat image : temp/1747141646_3106748_1357850123_6fd4c975fa2dbe41d754f668f0c04c57.jpg resize: (1080, 1632) 1357850123 -6.249496378661924 treat image : temp/1747141646_3106748_1357850121_22ad0cdb3ad31519b35c72a040721393.jpg resize: (1080, 1632) 1357850121 -6.278418527233571 treat image : temp/1747141646_3106748_1357850085_84840afadbdfdc82165d9d026ddca143.jpg resize: (1080, 1632) 1357850085 -1.6250028551292885 treat image : temp/1747141646_3106748_1357850081_1b742dff5f9d56c4accaa8bd6cf50b13.jpg resize: (1080, 1632) 1357850081 -2.0096587697234742 treat image : temp/1747141646_3106748_1357850076_78550b2117ac1b7454fb8387cd7a610a.jpg resize: (1080, 1632) 1357850076 -5.686125471175215 treat image : temp/1747141646_3106748_1357850071_f314d93812b33fc0c3c49f4ff9ecb9f8.jpg resize: (1080, 1632) 1357850071 -3.2088804240576128 treat image : temp/1747141646_3106748_1357850068_ef7aea02466585931e329a2378a666c4.jpg resize: (1080, 1632) 1357850068 -4.711068386508467 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.012489557266235352 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.012722969055175781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014897823333740234 save missing photos in datou_result : time spend for datou_step_exec : 15.673874616622925 time spend to save output : 0.04498028755187988 total time spend for step 1 : 15.718854904174805 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 4.39system 0:20.16elapsed 93%CPU (0avgtext+0avgdata 140488maxresident)k 0inputs+9784outputs (13major+257608minor)pagefaults 0swaps