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 : 1735052 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 : 10901>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/1735052/ 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.4482479095458984 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 Sat Jul 12 06:42: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/1752295347_1735052_1371801024_0bc4d5ee34651278d2da8a4e2268c913.jpg resize: (1080, 1632) 1371801024 -5.475316825244516 treat image : temp/1752295347_1735052_1371801016_3ab8ffc3c79148bffa78482741aa76b9.jpg resize: (1080, 1632) 1371801016 -5.470824991729213 treat image : temp/1752295347_1735052_1371801011_aee3339c1acdb760a5e82cd408a078e4.jpg resize: (1080, 1632) 1371801011 -5.472211726422371 treat image : temp/1752295347_1735052_1371801009_7c88ece7d3fe8081ad8442ff7e4d7d6a.jpg resize: (1080, 1632) 1371801009 -5.476973839470461 treat image : temp/1752295347_1735052_1371801006_fe06b3bdf24bdbf2825f2575c3a79a12.jpg resize: (1080, 1632) 1371801006 -5.474684513748398 treat image : temp/1752295347_1735052_1371801003_3741c6d6412e247b6936f1002b0d358b.jpg resize: (1080, 1632) 1371801003 -5.4822144733328395 treat image : temp/1752295347_1735052_1371800904_4bce59e1ed7e83d1bf2a5889df4287f1.jpg resize: (1080, 1632) 1371800904 -5.4543225969344835 treat image : temp/1752295347_1735052_1371800901_0278afb8347d025fdcf51dd785ad5821.jpg resize: (1080, 1632) 1371800901 -5.4505505639795215 treat image : temp/1752295347_1735052_1371800897_2084168d7e2932290d1f764a02bd2e9f.jpg resize: (1080, 1632) 1371800897 -5.4583450352519165 treat image : temp/1752295347_1735052_1371800893_4b98ff9af200232d7bac73248710d4ee.jpg resize: (1080, 1632) 1371800893 -5.463210994629106 treat image : temp/1752295347_1735052_1371800826_eb71ad6b03e2e2a360d118e23ba1a41d.jpg resize: (1080, 1632) 1371800826 -5.474913824605276 treat image : temp/1752295347_1735052_1371800825_242d9f61fed57596b9709c2b8020cd16.jpg resize: (1080, 1632) 1371800825 -5.474913824605276 treat image : temp/1752295347_1735052_1371800822_103ca14535b4facfc4ca80784db326cc.jpg resize: (1080, 1632) 1371800822 -5.486331601599724 treat image : temp/1752295347_1735052_1371800821_1305989ff5137935ddaf811efb43bbb3.jpg resize: (1080, 1632) 1371800821 -5.486331601599724 treat image : temp/1752295347_1735052_1371800639_da4fa0c4e9cebeb7a09877fb409c0801.jpg resize: (1080, 1632) 1371800639 -5.545150583729954 treat image : temp/1752295347_1735052_1371800637_3e9cc48fc38d7c23c953c8116da5ffa2.jpg resize: (1080, 1632) 1371800637 -5.547877630826734 treat image : temp/1752295347_1735052_1371796626_c75a05f4462c10f9ff1a613198e71166.jpg resize: (1080, 1632) 1371796626 -5.559572076630382 treat image : temp/1752295347_1735052_1371796624_e432150896825b69d7dff1933d34d76d.jpg resize: (1080, 1632) 1371796624 -5.564083775412284 treat image : temp/1752295347_1735052_1371796622_d7d7b3e1eb40ab8482e4acc509824145.jpg resize: (1080, 1632) 1371796622 -5.554349885094909 treat image : temp/1752295347_1735052_1371796620_b963d83ade5ff366902188ba813fb6da.jpg resize: (1080, 1632) 1371796620 -5.560133572793107 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.012844085693359375 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.20595884323120117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.059801340103149414 save missing photos in datou_result : time spend for datou_step_exec : 16.173378467559814 time spend to save output : 0.28372669219970703 total time spend for step 1 : 16.45710515975952 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 4.34system 0:22.57elapsed 82%CPU (0avgtext+0avgdata 138652maxresident)k 0inputs+10512outputs (8major+263973minor)pagefaults 0swaps