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 : 641424 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 : 3599>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/641424/ 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.434394121170044 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 Mar 14 17:32: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/1741969949_641424_1344215936_12cb8564892c9cb147de4a9a7109d033.jpg resize: (1080, 1632) 1344215936 -2.3111934821881506 treat image : temp/1741969949_641424_1344215931_6b8004987cbbfeaec6085c88d335d32a.jpg resize: (1080, 1632) 1344215931 -3.385886785794535 treat image : temp/1741969949_641424_1344215927_5649267e91f785de9b238211ec2df16c.jpg resize: (1080, 1632) 1344215927 -5.570252951318185 treat image : temp/1741969949_641424_1344215924_739603c15da433ae1eeb1f43182d505f.jpg resize: (1080, 1632) 1344215924 -6.104195440470716 treat image : temp/1741969949_641424_1344215910_98b8d49269d5c474135a47f62b6f8323.jpg resize: (1080, 1632) 1344215910 -6.365542082696034 treat image : temp/1741969949_641424_1344215867_ca14c0ed98e8b6e67ca68b8318cbf320.jpg resize: (1080, 1632) 1344215867 -6.1239530681995005 treat image : temp/1741969949_641424_1344215865_e3494b33ab5dac7100a1d6367ad42356.jpg resize: (1080, 1632) 1344215865 -6.384131928955319 treat image : temp/1741969949_641424_1344215863_899a863f0dce1de76f575a99d1885fd9.jpg resize: (1080, 1632) 1344215863 -5.424030702963405 treat image : temp/1741969949_641424_1344215861_e527763f0979921a73da097abd196335.jpg resize: (1080, 1632) 1344215861 -6.341504966650952 treat image : temp/1741969949_641424_1344215857_d7c339221b1248b5f14c67410ff3c126.jpg resize: (1080, 1632) 1344215857 -5.570799232061518 treat image : temp/1741969949_641424_1344215829_abb40f50c7a7c5d1bad45497e55588da.jpg resize: (1080, 1632) 1344215829 -2.552586867793694 treat image : temp/1741969949_641424_1344215824_cc5c317a592ee4032ea06da2be571655.jpg resize: (1080, 1632) 1344215824 -6.4245437041966955 treat image : temp/1741969949_641424_1344215822_ac2c308ab3f1d8c9edebc01707190491.jpg resize: (1080, 1632) 1344215822 -6.374687182902371 treat image : temp/1741969949_641424_1344215818_428ff84b932daa924b703e682c1deb8a.jpg resize: (1080, 1632) 1344215818 -6.2252934005435705 treat image : temp/1741969949_641424_1344215813_085d1347294ae718ce87ca4adab72b5b.jpg resize: (1080, 1632) 1344215813 -5.978300607743846 treat image : temp/1741969949_641424_1344215749_ac0ffd10f0b8ee762f83ff967034343a.jpg resize: (1080, 1632) 1344215749 -6.342689938491655 treat image : temp/1741969949_641424_1344215739_cef15a3862cfebb83d0af64b58d06a8e.jpg resize: (1080, 1632) 1344215739 -6.354495444936853 treat image : temp/1741969949_641424_1344215733_edc478fed6e6c173a2ca6b2c2e28a7d0.jpg resize: (1080, 1632) 1344215733 -2.499975818529596 treat image : temp/1741969949_641424_1344214887_b54b0dc3400536329868fce39dc60fc3.jpg resize: (1080, 1632) 1344214887 -4.5961443013586 treat image : temp/1741969949_641424_1344214559_bf2760e4ca959cd5fdd5747c9dbdbe3d.jpg resize: (1080, 1632) 1344214559 -2.225319949047629 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.012706279754638672 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.01306772232055664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014667272567749023 save missing photos in datou_result : time spend for datou_step_exec : 17.729766607284546 time spend to save output : 0.045255422592163086 total time spend for step 1 : 17.77502202987671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 5.57system 0:24.02elapsed 84%CPU (0avgtext+0avgdata 141216maxresident)k 112inputs+11240outputs (0major+256592minor)pagefaults 0swaps