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 : 2988931 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 : 1425>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/2988931/ 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 ! BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.3186192512512207 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 Apr 4 06:32: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/1743741147_2988931_1349986320_0dcdf673376163eedb86a0716305167e.jpg resize: (1080, 1632) 1349986320 -1.819800434080799 treat image : temp/1743741147_2988931_1349986313_e4bd1d72f1238c5832e272f2bdd607e0.jpg resize: (1080, 1632) 1349986313 -3.2445163903613374 treat image : temp/1743741147_2988931_1349986309_ad4fa813dd1c4d1d5b65cf1d384d03ef.jpg resize: (1080, 1632) 1349986309 -4.5257898439261375 treat image : temp/1743741147_2988931_1349986307_c7ce2e30bcc087e675d17e8e25d4a991.jpg resize: (1080, 1632) 1349986307 -6.425598135188947 treat image : temp/1743741147_2988931_1349986304_a1648247ec92dfe6f18bfac248371d1e.jpg resize: (1080, 1632) 1349986304 -6.259819146120807 treat image : temp/1743741147_2988931_1349986300_4c8813de3c5f63422a98d6e98fb693f4.jpg resize: (1080, 1632) 1349986300 -4.753437831541223 treat image : temp/1743741147_2988931_1349986246_071dd3ad8a537db6c27e534948e24cd9.jpg resize: (1080, 1632) 1349986246 -5.850576154542708 treat image : temp/1743741147_2988931_1349986243_a083009c16c00c5d714b88f3d842a61c.jpg resize: (1080, 1632) 1349986243 -5.798877637736334 treat image : temp/1743741147_2988931_1349986238_e9d2486f330785b821c6b982dec3b513.jpg resize: (1080, 1632) 1349986238 -5.207118872472387 treat image : temp/1743741147_2988931_1349986234_192461fe481f9d3ea6f99a333af1519d.jpg resize: (1080, 1632) 1349986234 -6.036609737361773 treat image : temp/1743741147_2988931_1349986226_e0df3eb0c91abfa1b5a5f76e29c19ef9.jpg resize: (1080, 1632) 1349986226 -2.367407294882574 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 : 11 time used for this insertion : 0.20076489448547363 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 time used for this insertion : 0.015805482864379883 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01496577262878418 save missing photos in datou_result : time spend for datou_step_exec : 10.006763458251953 time spend to save output : 0.23685407638549805 total time spend for step 1 : 10.243617534637451 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 8.89user 3.99system 0:14.40elapsed 89%CPU (0avgtext+0avgdata 137908maxresident)k 3480inputs+5896outputs (21major+169287minor)pagefaults 0swaps