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 : 2994404 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 : 2777>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/2994404/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371559560 complete_path : /home/admin/workarea/git/Velours/python/temp/1752217349_2994404_1371559560_ee94906b28494eb5d7754972b26f91d8.jpg FBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1371559560] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371559560 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.8329765796661377 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 09:02: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/1752217349_2994404_1371560276_0c0aa513cdb8caf459289ffce987b4a9.jpg resize: (1080, 1632) 1371560276 -5.4461163014863 treat image : temp/1752217349_2994404_1371560218_539e2b49f211dd33a1c44d42d55d4c98.jpg resize: (1080, 1632) 1371560218 -5.452684512629278 treat image : temp/1752217349_2994404_1371560214_c697e724a0e2f70e79013ce74dcead25.jpg resize: (1080, 1632) 1371560214 -5.454113865736142 treat image : temp/1752217349_2994404_1371560211_8f903ed349617ed09f66eadc403ad0b4.jpg resize: (1080, 1632) 1371560211 -5.442571784262313 treat image : temp/1752217349_2994404_1371559931_44bdf011e9ce9e6b8d17b42644366212.jpg resize: (1080, 1632) 1371559931 -5.449703778159162 treat image : temp/1752217349_2994404_1371559927_cf621fb97a3ab3256f09674326ad3ac5.jpg resize: (1080, 1632) 1371559927 -5.444122758724442 treat image : temp/1752217349_2994404_1371559925_0880ca9bda5d1f0d00b44897174f7166.jpg resize: (1080, 1632) 1371559925 -5.432261365730798 treat image : temp/1752217349_2994404_1371559910_0722a2ab45d13d089185edc3f28495b7.jpg resize: (1080, 1632) 1371559910 -5.451642270709024 treat image : temp/1752217349_2994404_1371559607_75f3f80f68995e3bc5af3d74e04e9435.jpg resize: (1080, 1632) 1371559607 -5.44513527486534 treat image : temp/1752217349_2994404_1371559565_63fd7a262f254bab744413381cc86506.jpg resize: (1080, 1632) 1371559565 -5.460161078481547 treat image : temp/1752217349_2994404_1371559562_b231b8eedf88e7fb00f5ea019cd1511a.jpg resize: (1080, 1632) 1371559562 -5.437374932457499 treat image : temp/1752217349_2994404_1371559337_4219ac9967aa3c8e5199b3329586a3f3.jpg resize: (1080, 1632) 1371559337 -5.4459298703820345 treat image : temp/1752217349_2994404_1371559330_b9a839715343af942cd6f9208cd1b0a8.jpg resize: (1080, 1632) 1371559330 -5.450055805633813 treat image : temp/1752217349_2994404_1371559329_a894aa83aa022de5215eab13361c72a9.jpg resize: (1080, 1632) 1371559329 -5.44383547241478 treat image : temp/1752217349_2994404_1371559265_f5b43abe95a551c6b1a24c3549f96b3f.jpg resize: (1080, 1632) 1371559265 -5.4450827670596915 treat image : temp/1752217349_2994404_1371559053_c17cd83fb4f6a424706d8c0cf0e17944.jpg resize: (1080, 1632) 1371559053 -5.4326809297320775 treat image : temp/1752217349_2994404_1371559051_d5e227dfa9d8c5f5289ade072c252bf9.jpg resize: (1080, 1632) 1371559051 -5.443983477469698 treat image : temp/1752217349_2994404_1371559002_c5860bd012dd4f6647d93cfd8abaa0fe.jpg resize: (1080, 1632) 1371559002 -5.453218746421966 treat image : temp/1752217349_2994404_1371558935_361fefae18b2ebd2492045ec5393991c.jpg resize: (1080, 1632) 1371558935 -5.4491863289162215 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 : 19 time used for this insertion : 0.021739482879638672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.057947397232055664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.08977603912353516 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.02391362190246582 time spend for datou_step_exec : 15.34081745147705 time spend to save output : 0.19870519638061523 total time spend for step 1 : 15.539522647857666 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 3.31system 0:20.99elapsed 84%CPU (0avgtext+0avgdata 140856maxresident)k 40inputs+9896outputs (18major+246315minor)pagefaults 0swaps