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 : 3863623 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 : 6023>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/3863623/ 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.1806657314300537 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 Jul 11 17:22: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/1752247348_3863623_1371620307_aba68301f421516019173f32e962cd6f.jpg resize: (1080, 1632) 1371620307 -5.175612700067981 treat image : temp/1752247348_3863623_1371620302_5b3a637a701ec3f2aed65ce52fdeb5b5.jpg resize: (1080, 1632) 1371620302 -5.187313064550166 treat image : temp/1752247348_3863623_1371620298_8e2758361653598eb4d0e780a85645a2.jpg resize: (1080, 1632) 1371620298 -5.198052228061593 treat image : temp/1752247348_3863623_1371620292_276fefc950d65ea3ed7f3afda19e3d1f.jpg resize: (1080, 1632) 1371620292 -5.206416386964654 treat image : temp/1752247348_3863623_1371620284_bd7a82bf0be4aceb940b3321e6853d6c.jpg resize: (1080, 1632) 1371620284 -5.216199337581876 treat image : temp/1752247348_3863623_1371620281_33f70e20c4e4397f7c841c6d8d85ea13.jpg resize: (1080, 1632) 1371620281 -5.218582493229618 treat image : temp/1752247348_3863623_1371620269_46a2169500630704a6f26e9c7fed0f01.jpg resize: (1080, 1632) 1371620269 -3.078403849499396 treat image : temp/1752247348_3863623_1371620266_78cf3d1216d95c5d969628115fea8ac2.jpg resize: (1080, 1632) 1371620266 -3.131841937622876 treat image : temp/1752247348_3863623_1371620260_08439610a1485b72f94f9a63200fff8f.jpg resize: (1080, 1632) 1371620260 -3.0955674906694264 treat image : temp/1752247348_3863623_1371620255_fbcf667197a09ee64077e5c7a7b6f3dc.jpg resize: (1080, 1632) 1371620255 -3.0503701282587543 treat image : temp/1752247348_3863623_1371620251_1e35a865a33fc2e377eef9a8b1e2004e.jpg resize: (1080, 1632) 1371620251 -2.9810599358305776 treat image : temp/1752247348_3863623_1371620244_c6fd31f3203cec36b342de9c83d49413.jpg resize: (1080, 1632) 1371620244 -3.0187512475500236 treat image : temp/1752247348_3863623_1371619748_8c9806691140c325b5fe1288a59c6bce.jpg resize: (1080, 1632) 1371619748 -5.242631184719283 treat image : temp/1752247348_3863623_1371619708_400182e996ed20550253564f357494b6.jpg resize: (1080, 1632) 1371619708 -5.244767061005313 treat image : temp/1752247348_3863623_1371619678_3f264f1bcd9684a494caee4f96d846a9.jpg resize: (1080, 1632) 1371619678 -5.233746851819418 treat image : temp/1752247348_3863623_1371619646_8a00ba491050ec95c3281e977e0e4e9f.jpg resize: (1080, 1632) 1371619646 -5.238950338945352 treat image : temp/1752247348_3863623_1371619443_6244cdae796d6e30a449f96b79fa6b40.jpg resize: (1080, 1632) 1371619443 -3.2157284493020057 treat image : temp/1752247348_3863623_1371619372_89742a1dcab9cc151e45cca650f6425d.jpg resize: (1080, 1632) 1371619372 -3.2381916838073463 treat image : temp/1752247348_3863623_1371619300_5822aa616d7600f4bd64df357a89f6e7.jpg resize: (1080, 1632) 1371619300 -3.2176004972689145 treat image : temp/1752247348_3863623_1371619206_c45339b00b235f7629c2eaa4dff00149.jpg resize: (1080, 1632) 1371619206 -3.1993173198988334 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.01173543930053711 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.012027978897094727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013911247253417969 save missing photos in datou_result : time spend for datou_step_exec : 16.122779607772827 time spend to save output : 0.04225444793701172 total time spend for step 1 : 16.16503405570984 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.79user 3.70system 0:21.01elapsed 88%CPU (0avgtext+0avgdata 138472maxresident)k 88inputs+8632outputs (5major+247572minor)pagefaults 0swaps