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 : 413860 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/413860/ 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 : 3.162853479385376 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 18 23:57: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/1752875848_413860_1372317309_3a7305dc281aef17d19395ae08e07d83.jpg resize: (1080, 1632) 1372317309 -2.087401773789486 treat image : temp/1752875848_413860_1372317283_d06b8370b7dea6d770e3c134054acb0a.jpg resize: (1080, 1632) 1372317283 -2.558859459239197 treat image : temp/1752875848_413860_1372317281_7c69bd8d9d55b28316bc0c237668969a.jpg resize: (1080, 1632) 1372317281 -2.4804645104490235 treat image : temp/1752875848_413860_1372317275_f7c116153eccc26da6719ac1b2517332.jpg resize: (1080, 1632) 1372317275 -2.2132200137922338 treat image : temp/1752875848_413860_1372317269_c5aa4a869ceeb99db29208cdf612578e.jpg resize: (1080, 1632) 1372317269 -1.7630058389313839 treat image : temp/1752875848_413860_1372317266_ab54b021fa10860eac22a3dfa13f5e1e.jpg resize: (1080, 1632) 1372317266 -1.800603671518184 treat image : temp/1752875848_413860_1372317262_2ef5412fbe2f84dcd57cdf74e6598275.jpg resize: (1080, 1632) 1372317262 -2.108498340455594 treat image : temp/1752875848_413860_1372317240_365729d3931fb1187575fd9daeb77cc3.jpg resize: (1080, 1632) 1372317240 -5.66845266825778 treat image : temp/1752875848_413860_1372317237_a4bf575d79e56eb295378f8b5aeaa46b.jpg resize: (1080, 1632) 1372317237 -5.337614053940128 treat image : temp/1752875848_413860_1372317234_d4088badcaf24636ea324dd028e73115.jpg resize: (1080, 1632) 1372317234 20.0 treat image : temp/1752875848_413860_1372317231_8d31ec95c8cc8cbace13fd466f111ba9.jpg resize: (1080, 1632) 1372317231 -2.5084630618082833 treat image : temp/1752875848_413860_1372317228_a20ebe725caa1c156798d527557ea56e.jpg resize: (1080, 1632) 1372317228 -2.45806454754669 treat image : temp/1752875848_413860_1372317224_5189ada49425a751192b34ddddbe79d6.jpg resize: (1080, 1632) 1372317224 -2.56616991256745 treat image : temp/1752875848_413860_1372317198_a0cc2b359aca536db1c4152f910f4ce3.jpg resize: (1080, 1632) 1372317198 -5.742927985367063 treat image : temp/1752875848_413860_1372317195_a979ba050787421b6106623e42ca3dcd.jpg resize: (1080, 1632) 1372317195 -5.5634134891252165 treat image : temp/1752875848_413860_1372317191_5161f49cea6b6381bead29e9c1864866.jpg resize: (1080, 1632) 1372317191 -5.0826126038877 treat image : temp/1752875848_413860_1372317189_7b8602c93aa5536bd5c1bded5f0f6804.jpg resize: (1080, 1632) 1372317189 -5.154634666289758 treat image : temp/1752875848_413860_1372317187_9a25f5d7ac85830c535f90c1eab604fd.jpg resize: (1080, 1632) 1372317187 -5.1642876536481275 treat image : temp/1752875848_413860_1372317184_557b845dbc869677ce371c7bc87ee857.jpg resize: (1080, 1632) 1372317184 -5.6486278102794865 treat image : temp/1752875848_413860_1372317160_dcd05ec5ee842c6981cfd7f736de78b8.jpg resize: (1080, 1632) 1372317160 -5.3591879318107525 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.011431694030761719 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.012488842010498047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014452695846557617 save missing photos in datou_result : time spend for datou_step_exec : 16.120349645614624 time spend to save output : 0.04278278350830078 total time spend for step 1 : 16.163132429122925 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 4.20system 0:21.72elapsed 85%CPU (0avgtext+0avgdata 139440maxresident)k 104inputs+8272outputs (11major+259959minor)pagefaults 0swaps