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 : 1230448 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 : 336>100 please execute split_portfolio.py -i 25656691 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3440425'] with mtr_portfolio_ids : ['25656691'] and first list_photo_ids : [] new path : /proc/1230448/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 4.132715225219727 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 Aug 5 01:47: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/1754351247_1230448_1375192198_89f77ea98f4a8caaa3f902b9b8164f5c.jpg resize: (1080, 1632) 1375192198 -2.4215480589159015 treat image : temp/1754351247_1230448_1375192196_2e1cd8808f7f6b7dd2c7bbe6e507d902.jpg resize: (1080, 1632) 1375192196 -1.1324896093428045 treat image : temp/1754351247_1230448_1375192195_3d40ed2af9d8ee6a6cbd5c5766a5a19a.jpg resize: (1080, 1632) 1375192195 -3.464873008484867 treat image : temp/1754351247_1230448_1375192194_fe795a7c14f34c718db3732318fccd79.jpg resize: (1080, 1632) 1375192194 -5.291266864965785 treat image : temp/1754351247_1230448_1375192189_df0ef2fe12709d2a884c49c0ca614935.jpg resize: (1080, 1632) 1375192189 -2.7036668434442475 treat image : temp/1754351247_1230448_1375192184_a84fdf49bf4c5e1e620c5f870ded3c9a.jpg resize: (1080, 1632) 1375192184 -4.352850826323212 treat image : temp/1754351247_1230448_1375192182_eba9cd7ff90ecd119f7c72671274310c.jpg resize: (1080, 1632) 1375192182 -1.5792146060196244 treat image : temp/1754351247_1230448_1375192170_0f26175d2f3cd0f48db64cbbc9554bc2.jpg resize: (1080, 1632) 1375192170 -4.747199894661369 treat image : temp/1754351247_1230448_1375192169_21249610b1b507fbe0afda645ab4661e.jpg resize: (1080, 1632) 1375192169 -5.24416680225652 treat image : temp/1754351247_1230448_1375192168_62d980f6c436620f4c5ed3b68027be00.jpg resize: (1080, 1632) 1375192168 -5.236846066201906 treat image : temp/1754351247_1230448_1375192167_20f4e73e297162785cd3aae69f625014.jpg resize: (1080, 1632) 1375192167 -4.363897444179467 treat image : temp/1754351247_1230448_1375192162_eb2833e769d33af2240d379084003fce.jpg resize: (1080, 1632) 1375192162 -5.029675687268763 treat image : temp/1754351247_1230448_1375192158_5c0bef1cdcfd8d94dacda351529ad6e6.jpg resize: (1080, 1632) 1375192158 -4.916743548658023 treat image : temp/1754351247_1230448_1375192155_414ff27f2afe691a0ab9c7e032234a58.jpg resize: (1080, 1632) 1375192155 -5.110484924488887 treat image : temp/1754351247_1230448_1375192152_60e2729145a1141b31a9116ebcd50a26.jpg resize: (1080, 1632) 1375192152 -5.4476568946238375 treat image : temp/1754351247_1230448_1375192148_f8642f3c63d64aae8b8324e4c1eaed46.jpg resize: (1080, 1632) 1375192148 -4.4233559708946135 treat image : temp/1754351247_1230448_1375192143_55560a4e36fbc47692e036609dac9d73.jpg resize: (1080, 1632) 1375192143 -4.320527988924902 treat image : temp/1754351247_1230448_1375192138_faa5a4e1357a2186371057e8c7321321.jpg resize: (1080, 1632) 1375192138 -4.654590829904334 treat image : temp/1754351247_1230448_1375192133_eb35b36080e2ead5f357aa8478de6b11.jpg resize: (1080, 1632) 1375192133 -4.577152012954567 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 : 19 time used for this insertion : 0.29656362533569336 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.01591181755065918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.019988059997558594 save missing photos in datou_result : time spend for datou_step_exec : 13.559744834899902 time spend to save output : 0.3371775150299072 total time spend for step 1 : 13.89692234992981 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 12.92user 3.24system 0:19.56elapsed 82%CPU (0avgtext+0avgdata 137556maxresident)k 0inputs+8216outputs (0major+251291minor)pagefaults 0swaps