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 : 2933574 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2933574/ 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 : 3.402780771255493 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 Jul 18 07:27:32 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/1752816448_2933574_1372324862_90e0079033e1bb001228caafa2e49e87.jpg resize: (1080, 1632) 1372324862 -5.762259562520164 treat image : temp/1752816448_2933574_1372324860_a72e234e15c285aa3a44d5c356281b65.jpg resize: (1080, 1632) 1372324860 -5.668410451035919 treat image : temp/1752816448_2933574_1372324858_8f031d26bad5b2d75ded91ff525d2a47.jpg resize: (1080, 1632) 1372324858 -5.67605509422486 treat image : temp/1752816448_2933574_1372324856_a322078ec9fd926186193b79831b40bc.jpg resize: (1080, 1632) 1372324856 -4.618473871555529 treat image : temp/1752816448_2933574_1372324855_d8c39491bdb213563cb1d4924055bccc.jpg resize: (1080, 1632) 1372324855 -6.247509118070517 treat image : temp/1752816448_2933574_1372324853_3d048419baf39716f3fa11c2cdacf007.jpg resize: (1080, 1632) 1372324853 -4.583491632852353 treat image : temp/1752816448_2933574_1372324825_102f3e0d542bd13c39452aa5116d3752.jpg resize: (1080, 1632) 1372324825 -5.7813339247175675 treat image : temp/1752816448_2933574_1372324823_65efdfa8efc1c92da60a3f7f704cd769.jpg resize: (1080, 1632) 1372324823 -5.778456519599097 treat image : temp/1752816448_2933574_1372324821_b617421824822d582496f6dfc19fee4c.jpg resize: (1080, 1632) 1372324821 -5.913773374043262 treat image : temp/1752816448_2933574_1372324819_8de44e2b6b3aa350918b2cf8c11b1f06.jpg resize: (1080, 1632) 1372324819 -5.7437469985247285 treat image : temp/1752816448_2933574_1372324816_ead14fea4071da0a5b29840114797364.jpg resize: (1080, 1632) 1372324816 -5.7301388328459435 treat image : temp/1752816448_2933574_1372324815_544c8573f4f7877e9a6c5451f09ec7d9.jpg resize: (1080, 1632) 1372324815 -5.7393034946105255 treat image : temp/1752816448_2933574_1372324790_2b629ccc7eae49fde58c1486b741f301.jpg resize: (1080, 1632) 1372324790 -5.824748559319575 treat image : temp/1752816448_2933574_1372324788_361d57edc558969eda74a49ab0c981ae.jpg resize: (1080, 1632) 1372324788 -5.8105234781152815 treat image : temp/1752816448_2933574_1372324786_49469177c9d165333cd88556fbbf5f63.jpg resize: (1080, 1632) 1372324786 -5.165719421504863 treat image : temp/1752816448_2933574_1372324784_8e5d594c22d1e72bd79117104ee25716.jpg resize: (1080, 1632) 1372324784 -5.775700544947315 treat image : temp/1752816448_2933574_1372324782_2bd33a9dd968113d046e4f4947920cb7.jpg resize: (1080, 1632) 1372324782 -5.771069514380216 treat image : temp/1752816448_2933574_1372324779_f25f325b18b31c78f444f2104e0cac56.jpg resize: (1080, 1632) 1372324779 -5.776264351311182 treat image : temp/1752816448_2933574_1372324759_5dc0a9197b14277357e9f430b423cfb4.jpg resize: (1080, 1632) 1372324759 -3.5523058586591096 treat image : temp/1752816448_2933574_1372324758_031dec1e705462190f390b518e29cbe1.jpg resize: (1080, 1632) 1372324758 -1.650972748016154 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.017685413360595703 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.27663445472717285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.20535707473754883 save missing photos in datou_result : time spend for datou_step_exec : 16.11423087120056 time spend to save output : 0.5042665004730225 total time spend for step 1 : 16.618497371673584 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.94user 4.03system 0:23.45elapsed 80%CPU (0avgtext+0avgdata 139488maxresident)k 96inputs+10784outputs (0major+265350minor)pagefaults 0swaps