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 : 1644247 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 : 2021>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/1644247/ 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.63992977142334 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 Sep 12 09:42: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/1757662948_1644247_1383368031_871612d97df094f5a37690adb497d172.jpg resize: (1080, 1632) 1383368031 -5.508109312126853 treat image : temp/1757662948_1644247_1383368027_9f61a5a96820db6cc29362fe087efb36.jpg resize: (1080, 1632) 1383368027 -5.5700294493409634 treat image : temp/1757662948_1644247_1383368026_51386e7af83a6d3d0f18b79707b8ddd8.jpg resize: (1080, 1632) 1383368026 -5.85191115959292 treat image : temp/1757662948_1644247_1383368023_09a6858a67a227918a1ba14cea6001a3.jpg resize: (1080, 1632) 1383368023 -5.8467149097742 treat image : temp/1757662948_1644247_1383368010_b945c2f9c33413a28276e3dac8027597.jpg resize: (1080, 1632) 1383368010 -5.91261649945687 treat image : temp/1757662948_1644247_1383368007_21df9bf22ee81740e9aea52a05a511b7.jpg resize: (1080, 1632) 1383368007 -5.899229848437676 treat image : temp/1757662948_1644247_1383368002_f6a693cb4914094f109c2a6c3d36eeff.jpg resize: (1080, 1632) 1383368002 -1.2252190329810126 treat image : temp/1757662948_1644247_1383367999_b20dc9f264d0bb31bad7bb3d9cc60f42.jpg resize: (1080, 1632) 1383367999 -2.347774836438787 treat image : temp/1757662948_1644247_1383367995_55aa838394ce5464c715c8c576bfa319.jpg resize: (1080, 1632) 1383367995 -5.286004611111489 treat image : temp/1757662948_1644247_1383367993_0d1e153140391688d59e62aca81f2ce0.jpg resize: (1080, 1632) 1383367993 -4.209105857953569 treat image : temp/1757662948_1644247_1383367922_f489542fe0c763f158c412dbf0ebe9cd.jpg resize: (1080, 1632) 1383367922 -4.599576350104573 treat image : temp/1757662948_1644247_1383367920_9171c5102c25b2b8caa9cadb71078608.jpg resize: (1080, 1632) 1383367920 -4.599576350104573 treat image : temp/1757662948_1644247_1383367916_148fd894b2da37ec95e92b2034a8be5b.jpg resize: (1080, 1632) 1383367916 -5.558443625872396 treat image : temp/1757662948_1644247_1383367915_ae2ad5d38ae1499e291ed97951ccfa1a.jpg resize: (1080, 1632) 1383367915 -5.558443625872396 treat image : temp/1757662948_1644247_1383367903_c020019240da1c6787e2f2d15626175b.jpg resize: (1080, 1632) 1383367903 -4.193787051530528 treat image : temp/1757662948_1644247_1383367901_04aa8c7c0c63dc783bd07a2e0a28bea8.jpg resize: (1080, 1632) 1383367901 -5.967112483442075 treat image : temp/1757662948_1644247_1383367899_8fa4df3b8714c18c1932209efd3e7815.jpg resize: (1080, 1632) 1383367899 -5.2522729177524266 treat image : temp/1757662948_1644247_1383367895_4d7284de69e01e4d0983c84a14844693.jpg resize: (1080, 1632) 1383367895 -5.587458536268213 treat image : temp/1757662948_1644247_1383367891_482a6dd6e395593d6d43a1690b751e17.jpg resize: (1080, 1632) 1383367891 -5.28749345162634 treat image : temp/1757662948_1644247_1383367886_835596cc28956c8fd5c75fca7b85a34d.jpg resize: (1080, 1632) 1383367886 -1.5131047961630748 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.012825965881347656 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.013016939163208008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021643400192260742 save missing photos in datou_result : time spend for datou_step_exec : 15.282772302627563 time spend to save output : 0.05242180824279785 total time spend for step 1 : 15.335194110870361 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.14user 3.68system 0:20.09elapsed 88%CPU (0avgtext+0avgdata 138328maxresident)k 184inputs+10040outputs (0major+262604minor)pagefaults 0swaps