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 : 86512 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 : 4161>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/86512/ 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.0113532543182373 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 Thu Jul 17 12:27:32 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/1752748049_86512_1372345251_daa593a4b98f6f17a8b66c745f5c9be3.jpg resize: (1080, 1632) 1372345251 -3.0713085371847804 treat image : temp/1752748049_86512_1372345248_6f83af8a7bd5e78006aaface432b0373.jpg resize: (1080, 1632) 1372345248 -3.0756279182206656 treat image : temp/1752748049_86512_1372345231_0691bf93c8101c4f09c3b64d4299b55f.jpg resize: (1080, 1632) 1372345231 -3.047219626940271 treat image : temp/1752748049_86512_1372345228_05d07b06b385355e68521a5b32c03b42.jpg resize: (1080, 1632) 1372345228 -3.0437692218128456 treat image : temp/1752748049_86512_1372345226_8f54e846f25a6c94bbf6b64766b79db3.jpg resize: (1080, 1632) 1372345226 -3.044735585644106 treat image : temp/1752748049_86512_1372345223_ed0004288296e61c546d4dd3a490474f.jpg resize: (1080, 1632) 1372345223 -3.0790796369312545 treat image : temp/1752748049_86512_1372345222_7ac694c9ea525b64e158e53f8e72db6c.jpg resize: (1080, 1632) 1372345222 -3.020253463095012 treat image : temp/1752748049_86512_1372345220_71fae527a962c78f3dcd6615465a34b9.jpg resize: (1080, 1632) 1372345220 -3.0476444992024248 treat image : temp/1752748049_86512_1372345198_710b100baca821180df624328051c283.jpg resize: (1080, 1632) 1372345198 -3.0490915152079063 treat image : temp/1752748049_86512_1372345195_79c256fbb5edb017155c6781072d0fc3.jpg resize: (1080, 1632) 1372345195 -3.0461097838226423 treat image : temp/1752748049_86512_1372345193_276d3315e9b4b429a815c88ff14ea42b.jpg resize: (1080, 1632) 1372345193 -3.0230233742765136 treat image : temp/1752748049_86512_1372345191_960fae8584ef064bf29f362fb592d5c6.jpg resize: (1080, 1632) 1372345191 -3.047000628573771 treat image : temp/1752748049_86512_1372345189_5e0d486d8d8a0b356df08ad02be22865.jpg resize: (1080, 1632) 1372345189 -3.0449781046009194 treat image : temp/1752748049_86512_1372345188_3e80a6d50038876f789ce1b74f3a52c9.jpg resize: (1080, 1632) 1372345188 -3.0581816473766597 treat image : temp/1752748049_86512_1372345176_9a0ce9e1734050464f24b75583ed469f.jpg resize: (1080, 1632) 1372345176 -3.0521726827450353 treat image : temp/1752748049_86512_1372345174_e6f8472765895414d99c88c4421a66b3.jpg resize: (1080, 1632) 1372345174 -3.0494577503982567 treat image : temp/1752748049_86512_1372345173_a9ca8d6d5bd6775731d2b0a76b5da453.jpg resize: (1080, 1632) 1372345173 -3.047697982730074 treat image : temp/1752748049_86512_1372345171_79ec93b03f8af7e38c7b9b023560e6a1.jpg resize: (1080, 1632) 1372345171 -3.018635995831219 treat image : temp/1752748049_86512_1372345169_eed289583eda8c23c6df907eb949e8ee.jpg resize: (1080, 1632) 1372345169 -3.042372221589233 treat image : temp/1752748049_86512_1372345166_2bf2c24fa7ae8d4e822949b4c138f9ed.jpg resize: (1080, 1632) 1372345166 -3.043522992838127 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.03099656105041504 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.0288546085357666 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.035448312759399414 save missing photos in datou_result : time spend for datou_step_exec : 14.577484130859375 time spend to save output : 0.10867047309875488 total time spend for step 1 : 14.68615460395813 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 2.57system 0:21.18elapsed 79%CPU (0avgtext+0avgdata 138652maxresident)k 0inputs+7384outputs (4major+258444minor)pagefaults 0swaps