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 : 1453349 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 : 3064>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1453349/ 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.2387449741363525 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 4 14: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/1751633249_1453349_1370620711_2d8aa5adaef9c89afc12279d7fada2a3.jpg resize: (1080, 1632) 1370620711 -5.283301270125115 treat image : temp/1751633249_1453349_1370620637_c939728d8c031f79a17614d59e50a363.jpg resize: (1080, 1632) 1370620637 -5.3430379804410695 treat image : temp/1751633249_1453349_1370620598_d6de62a359f193a599dfe30cf9d6a89e.jpg resize: (1080, 1632) 1370620598 -5.33392883467197 treat image : temp/1751633249_1453349_1370620559_ebd109ff3faeb230a2139fcab287cc8a.jpg resize: (1080, 1632) 1370620559 -5.3682734865957995 treat image : temp/1751633249_1453349_1370620515_824c6e5e90dd00b7322115cdfa1a7649.jpg resize: (1080, 1632) 1370620515 -5.344243556093249 treat image : temp/1751633249_1453349_1370620454_3de3ec24b6804f2a2a07ec5b95a56504.jpg resize: (1080, 1632) 1370620454 -5.353748663127194 treat image : temp/1751633249_1453349_1370620288_1abd0963ffe0db4c688e5cf1b87b0a7a.jpg resize: (1080, 1632) 1370620288 -3.510750626935129 treat image : temp/1751633249_1453349_1370620237_f0fa1dccaba51560c8fccb77758508a3.jpg resize: (1080, 1632) 1370620237 -3.477413106639801 treat image : temp/1751633249_1453349_1370620205_5719df70bb95214dfa492a7fd9b22bef.jpg resize: (1080, 1632) 1370620205 -3.3353477039277406 treat image : temp/1751633249_1453349_1370620183_13e16336fcac3abf14d7e86893fecf8f.jpg resize: (1080, 1632) 1370620183 -5.325032239018318 treat image : temp/1751633249_1453349_1370620147_cfe8b52bae4feb573f3c3e2b87b1e4bb.jpg resize: (1080, 1632) 1370620147 -5.3182598063441295 treat image : temp/1751633249_1453349_1370620087_60b980956de974f395bbfe09aece4b6c.jpg resize: (1080, 1632) 1370620087 -5.301305504836431 treat image : temp/1751633249_1453349_1370618897_b688ff9884b079191771bbc2fa24288f.jpg resize: (1080, 1632) 1370618897 -4.1153838390078175 treat image : temp/1751633249_1453349_1370618844_dd51b6c549f26bb3fb77bef30ce34152.jpg resize: (1080, 1632) 1370618844 -5.0012199093315 treat image : temp/1751633249_1453349_1370618772_ee2aa00acb57e45af89cddcf2b52a8b4.jpg resize: (1080, 1632) 1370618772 -4.13960977930773 treat image : temp/1751633249_1453349_1370618721_1a2287e2f9d87f3385fff35731600542.jpg resize: (1080, 1632) 1370618721 -3.829013590817414 treat image : temp/1751633249_1453349_1370618645_27548d2be1043ce699864bb2467cc614.jpg resize: (1080, 1632) 1370618645 -5.850961035022574 treat image : temp/1751633249_1453349_1370618641_4c55d57ba5836227015ceb8a36f3966e.jpg resize: (1080, 1632) 1370618641 -6.178867926877609 treat image : temp/1751633249_1453349_1370618627_aadb1c26525c038b20b360ab521a36b6.jpg resize: (1080, 1632) 1370618627 -4.73342047109972 treat image : temp/1751633249_1453349_1370618597_295f72016cad8c7a5e8408407bca3662.jpg resize: (1080, 1632) 1370618597 -5.193175429483485 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.04186725616455078 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.043701887130737305 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04624509811401367 save missing photos in datou_result : time spend for datou_step_exec : 16.3625066280365 time spend to save output : 0.1517353057861328 total time spend for step 1 : 16.514241933822632 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.25user 4.51system 0:22.55elapsed 83%CPU (0avgtext+0avgdata 137088maxresident)k 56inputs+9368outputs (0major+259304minor)pagefaults 0swaps