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 : 3401497 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 : 1404>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3401497/ 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.1135544776916504 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 Wed Jul 9 15:47: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/1752068848_3401497_1371391516_29bc3e6619457cd6d1c75c5c26c496c7.jpg resize: (1080, 1632) 1371391516 -2.373800482658092 treat image : temp/1752068848_3401497_1371391494_0014b8955a8cdab6b3baefcf43f75370.jpg resize: (1080, 1632) 1371391494 -2.35850229900711 treat image : temp/1752068848_3401497_1371391472_f6a19415599a2502531c32542b3422c9.jpg resize: (1080, 1632) 1371391472 -2.359840230631007 treat image : temp/1752068848_3401497_1371391403_7509379f52f1ab814f12655c5f9d29a7.jpg resize: (1080, 1632) 1371391403 -2.361377972234799 treat image : temp/1752068848_3401497_1371391326_ece3c986a487444da6bd2c2a95e99867.jpg resize: (1080, 1632) 1371391326 -2.370451295211392 treat image : temp/1752068848_3401497_1371391259_caace4592accaa562157019ba46197aa.jpg resize: (1080, 1632) 1371391259 -2.374653825193441 treat image : temp/1752068848_3401497_1371390998_5d2c5ba09633e9ec76d3563b2cbcdb97.jpg resize: (1080, 1632) 1371390998 -2.3735141320520903 treat image : temp/1752068848_3401497_1371390943_f977ba1b8ad3bb4ece35e09b9cebeb36.jpg resize: (1080, 1632) 1371390943 -2.3704640404797668 treat image : temp/1752068848_3401497_1371390879_7c697f8af66dcd1e5e4e8d5616295b6e.jpg resize: (1080, 1632) 1371390879 -2.3663431570737354 treat image : temp/1752068848_3401497_1371390832_c194e6b8ac0ca896ddab2b376d0dc7ca.jpg resize: (1080, 1632) 1371390832 -2.3678509084066155 treat image : temp/1752068848_3401497_1371390731_b2735bb6ee002394b4c2dcc6ea05b9fa.jpg resize: (1080, 1632) 1371390731 -2.3805259478231116 treat image : temp/1752068848_3401497_1371390631_8cb9263415bdebf4b5601acedb81cfdd.jpg resize: (1080, 1632) 1371390631 -2.3643150917116915 treat image : temp/1752068848_3401497_1371390361_a5cd70d78daac72567c51794d2973db6.jpg resize: (1080, 1632) 1371390361 -4.706767709088107 treat image : temp/1752068848_3401497_1371390321_157a08e74b8db0b4c7410fee5ae45ff1.jpg resize: (1080, 1632) 1371390321 -4.848122705744816 treat image : temp/1752068848_3401497_1371390207_32c04adc6f4954b524f251a3a900f229.jpg resize: (1080, 1632) 1371390207 -1.8300354273217319 treat image : temp/1752068848_3401497_1371390113_18d4eff769ba76f0db138b08b87db258.jpg resize: (1080, 1632) 1371390113 -2.3611598910300584 treat image : temp/1752068848_3401497_1371390015_4e61dd217341d3b1e81b692cf62d343a.jpg resize: (1080, 1632) 1371390015 -2.367569990180534 treat image : temp/1752068848_3401497_1371389920_6ff010097f023b410bae5199e1d7450e.jpg resize: (1080, 1632) 1371389920 -2.4172234908071757 treat image : temp/1752068848_3401497_1371388119_b737d3c5989487f3bcd72bff4cc6e4ed.jpg resize: (1080, 1632) 1371388119 -2.339335015610604 treat image : temp/1752068848_3401497_1371388092_3031c6e71acc65b5d8d502a67d51a21e.jpg resize: (1080, 1632) 1371388092 -2.361103805965386 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.013852357864379883 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.01381683349609375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015910863876342773 save missing photos in datou_result : time spend for datou_step_exec : 15.921826124191284 time spend to save output : 0.048880577087402344 total time spend for step 1 : 15.970706701278687 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.71user 4.73system 0:22.14elapsed 83%CPU (0avgtext+0avgdata 139852maxresident)k 1512inputs+6984outputs (35major+203878minor)pagefaults 0swaps