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 : 1962979 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 : 1463>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1962979/ 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.4672179222106934 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 Mon May 12 11:37:30 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/1747042647_1962979_1357620003_daaf523204410ba4d4ea51689494f5b6.jpg resize: (1080, 1632) 1357620003 -6.137982875596473 treat image : temp/1747042647_1962979_1357620002_f909ce9fc518a964e8a0c1d17f600ae5.jpg resize: (1080, 1632) 1357620002 -1.83655344275685 treat image : temp/1747042647_1962979_1357619997_2f5a48cca4a29b3f21759bd839eeed3e.jpg resize: (1080, 1632) 1357619997 -5.931039501055017 treat image : temp/1747042647_1962979_1357619908_2664abeec759cfd1422381aad0611505.jpg resize: (1080, 1632) 1357619908 -6.343733015486146 treat image : temp/1747042647_1962979_1357619906_0fd101438de5d68ceaffb07807785093.jpg resize: (1080, 1632) 1357619906 -6.215805994026004 treat image : temp/1747042647_1962979_1357619903_90136f1cf4543e5b6fa54ae8b39e4ee4.jpg resize: (1080, 1632) 1357619903 -4.356026167578386 treat image : temp/1747042647_1962979_1357619897_12d24067cae700dceffb3a6b28d49f10.jpg resize: (1080, 1632) 1357619897 -5.824508090930093 treat image : temp/1747042647_1962979_1357619889_7160372e426eaadbaed3bb5da0cbf3fe.jpg resize: (1080, 1632) 1357619889 -3.920979913795237 treat image : temp/1747042647_1962979_1357619886_2ad3ad1d0e1c3babaec7f6d0a7e2c85d.jpg resize: (1080, 1632) 1357619886 -6.135588338910729 treat image : temp/1747042647_1962979_1357619811_acd411b98e75861438e8d96b477ffb51.jpg resize: (1080, 1632) 1357619811 -1.5527894741561377 treat image : temp/1747042647_1962979_1357619809_9e3d64ad8d8a8458d5a760c65da30c6c.jpg resize: (1080, 1632) 1357619809 -2.597206348560058 treat image : temp/1747042647_1962979_1357619807_70e8d9bdc56ea7a9ac038d5142473335.jpg resize: (1080, 1632) 1357619807 -5.2158334390847 treat image : temp/1747042647_1962979_1357619803_e095400ffe9d4e6b798eab7266f0f423.jpg resize: (1080, 1632) 1357619803 -6.006431918915015 treat image : temp/1747042647_1962979_1357619799_855a7e325055717c989208e9f129965c.jpg resize: (1080, 1632) 1357619799 -6.291435647990381 treat image : temp/1747042647_1962979_1357619737_57099ab265707ee0c8b2bcb6ffed8bd5.jpg resize: (1080, 1632) 1357619737 -5.8718813127594665 treat image : temp/1747042647_1962979_1357619736_ef495ffcb1f868417a44a80348a91641.jpg resize: (1080, 1632) 1357619736 -5.698780864992028 treat image : temp/1747042647_1962979_1357619732_75f9d6a1bf371386c72a56d6436725dc.jpg resize: (1080, 1632) 1357619732 -5.484515608942688 treat image : temp/1747042647_1962979_1357619729_63ccd9a13dd5b94585a77836126b7e83.jpg resize: (1080, 1632) 1357619729 -6.1866704576518705 treat image : temp/1747042647_1962979_1357619726_8d5b269d4d9f97469e13bf16aaad69de.jpg resize: (1080, 1632) 1357619726 -6.034962839138833 treat image : temp/1747042647_1962979_1357619682_ffe35b79c0c828225e365a917fae2ccf.jpg resize: (1080, 1632) 1357619682 -5.171231678659605 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.015517711639404297 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.011883020401000977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016298532485961914 save missing photos in datou_result : time spend for datou_step_exec : 15.850983142852783 time spend to save output : 0.04839682579040527 total time spend for step 1 : 15.899379968643188 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 3.34system 0:21.15elapsed 85%CPU (0avgtext+0avgdata 138420maxresident)k 136inputs+10912outputs (19major+257822minor)pagefaults 0swaps