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 : 1464646 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 : 1007>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/1464646/ 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.360888957977295 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 09:07: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/1747033649_1464646_1357607484_aedcec3dd087480a9b9b02ff19a41b39.jpg resize: (1080, 1632) 1357607484 -5.806762149339369 treat image : temp/1747033649_1464646_1357607424_08d8359822c195b332f21ea1508e35f8.jpg resize: (1080, 1632) 1357607424 -3.5806421061297473 treat image : temp/1747033649_1464646_1357607405_2cc77298556e8752d164cea5f91af4b7.jpg resize: (1080, 1632) 1357607405 -5.705581963979133 treat image : temp/1747033649_1464646_1357607376_b19b3480931759c9a3d7379cf6c03ed0.jpg resize: (1080, 1632) 1357607376 -3.1876159825063644 treat image : temp/1747033649_1464646_1357607347_b53eae82c9e2de37add74d893722566d.jpg resize: (1080, 1632) 1357607347 -5.9462688894390325 treat image : temp/1747033649_1464646_1357607334_cf648ab0ba080c9e82a655bc78da2486.jpg resize: (1080, 1632) 1357607334 -5.4692088370173115 treat image : temp/1747033649_1464646_1357607331_212b4529e70c449eb90639d00a92b8dd.jpg resize: (1080, 1632) 1357607331 -5.2912568321230316 treat image : temp/1747033649_1464646_1357607254_e8a2344b360599e946d69c77b2ecdb67.jpg resize: (1080, 1632) 1357607254 -1.384168125775634 treat image : temp/1747033649_1464646_1357607250_e370f426094779923b53400f0ea4f78d.jpg resize: (1080, 1632) 1357607250 -1.9602878400743564 treat image : temp/1747033649_1464646_1357607245_da0b56bb6ea072fc546c02194d24205e.jpg resize: (1080, 1632) 1357607245 -2.4346712340792784 treat image : temp/1747033649_1464646_1357607219_e9a3bf8c098328474419a671fb79d5eb.jpg resize: (1080, 1632) 1357607219 -5.696409806500155 treat image : temp/1747033649_1464646_1357607215_f24683fdf8845bc874e02ae50a8db268.jpg resize: (1080, 1632) 1357607215 -5.580175255084091 treat image : temp/1747033649_1464646_1357607210_bab65c46376c932a3f235a25c863694f.jpg resize: (1080, 1632) 1357607210 -3.9072591113132145 treat image : temp/1747033649_1464646_1357607206_d189dc46826a1b3e20af2efe82104004.jpg resize: (1080, 1632) 1357607206 -3.449592498469944 treat image : temp/1747033649_1464646_1357607203_b0b31d9020afb4edf00ceb37f54f1dda.jpg resize: (1080, 1632) 1357607203 -5.839775006949579 treat image : temp/1747033649_1464646_1357607126_c8234791af0b9d8571c9e75923a09847.jpg resize: (1080, 1632) 1357607126 -5.564700901639221 treat image : temp/1747033649_1464646_1357607115_d78a53d7514ea106d3def194f1e0ae8d.jpg resize: (1080, 1632) 1357607115 -5.116915494335546 treat image : temp/1747033649_1464646_1357607105_b767ffad1f167e10be565abaa2c2c677.jpg resize: (1080, 1632) 1357607105 -5.685667239892871 treat image : temp/1747033649_1464646_1357607102_5c14392113bbcda1676624f8af81b1db.jpg resize: (1080, 1632) 1357607102 -5.703510604288876 treat image : temp/1747033649_1464646_1357607060_9b57bdb3d3403679d86eb2124f2b42d1.jpg resize: (1080, 1632) 1357607060 -4.611567896812901 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.02609395980834961 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.01591968536376953 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01792430877685547 save missing photos in datou_result : time spend for datou_step_exec : 15.699798822402954 time spend to save output : 0.06544876098632812 total time spend for step 1 : 15.765247583389282 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 3.40system 0:22.38elapsed 81%CPU (0avgtext+0avgdata 140544maxresident)k 120inputs+9856outputs (17major+253232minor)pagefaults 0swaps