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 : 2702273 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 : 2659>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2702273/ 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.645296812057495 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 Wed Apr 2 18:17: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/1743610648_2702273_1349565401_fbb52828c479b989594f6cf3d658d3fb.jpg resize: (1080, 1632) 1349565401 -3.7487205607869183 treat image : temp/1743610648_2702273_1349565366_a1f79b7dbab93087c039556a75e20464.jpg resize: (1080, 1632) 1349565366 -0.8433294010406889 treat image : temp/1743610648_2702273_1349565330_252969a86d05c33dd2516aa313cbfebd.jpg resize: (1080, 1632) 1349565330 -2.6426080813033925 treat image : temp/1743610648_2702273_1349565302_2d4ab006dc5eb8227a0f9051dc4433c9.jpg resize: (1080, 1632) 1349565302 -3.2894290841391505 treat image : temp/1743610648_2702273_1349565072_0012fb3f0198a1bbb64edc77dfcb36fa.jpg resize: (1080, 1632) 1349565072 -6.124577999829622 treat image : temp/1743610648_2702273_1349565020_ffd970212344a9a9de4ee551877ce0d6.jpg resize: (1080, 1632) 1349565020 -5.998009921781506 treat image : temp/1743610648_2702273_1349564974_47690f608f4229ac42f60a755ab6f2ed.jpg resize: (1080, 1632) 1349564974 -4.682019073378182 treat image : temp/1743610648_2702273_1349564915_0b6a1eecdd6ae3d77a338c642338c149.jpg resize: (1080, 1632) 1349564915 -5.199207260162472 treat image : temp/1743610648_2702273_1349564874_83d49632d510dc2edcc44a4ed9cb106b.jpg resize: (1080, 1632) 1349564874 -5.00185002684732 treat image : temp/1743610648_2702273_1349564847_4287a22280a69482f21e52b581334651.jpg resize: (1080, 1632) 1349564847 -5.802714677516337 treat image : temp/1743610648_2702273_1349564634_2b04770ce7da16a6c66ad320112e354c.jpg resize: (1080, 1632) 1349564634 -0.5944719361048397 treat image : temp/1743610648_2702273_1349564631_736c36bae6376ff0402b7a7486514da1.jpg resize: (1080, 1632) 1349564631 -1.4254999285503904 treat image : temp/1743610648_2702273_1349564629_9b2f94c177cede950925bf7083d45f35.jpg resize: (1080, 1632) 1349564629 -2.5791516283949596 treat image : temp/1743610648_2702273_1349564626_e1dd88c22520c2891a19cb36d4be54ed.jpg resize: (1080, 1632) 1349564626 -4.814255202951409 treat image : temp/1743610648_2702273_1349488869_e943fed17b5ebcd2b8bb81a132a8f5e0.jpg resize: (1080, 1632) 1349488869 0.1027560033469765 treat image : temp/1743610648_2702273_1349488863_290b7679f954da22fd178dadea257c3d.jpg resize: (1080, 1632) 1349488863 -5.20554803849917 treat image : temp/1743610648_2702273_1349488843_cc64e731ad485e83cf8adbfe7ea37fc1.jpg resize: (1080, 1632) 1349488843 -1.5041292283558227 treat image : temp/1743610648_2702273_1349488838_a6f45cf57100062b7867ae57338ef326.jpg resize: (1080, 1632) 1349488838 -5.572930601226858 treat image : temp/1743610648_2702273_1349488834_9bd4197f9280a507c0867daa2772b826.jpg resize: (1080, 1632) 1349488834 -5.834358625842936 treat image : temp/1743610648_2702273_1349488829_743435e087536b28e3e70a22d9453069.jpg resize: (1080, 1632) 1349488829 -5.229909296005096 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 : 2.562818765640259 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.01903843879699707 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01572132110595703 save missing photos in datou_result : time spend for datou_step_exec : 17.359545707702637 time spend to save output : 2.6025850772857666 total time spend for step 1 : 19.962130784988403 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.05user 4.53system 0:26.68elapsed 73%CPU (0avgtext+0avgdata 137744maxresident)k 368inputs+9048outputs (18major+262710minor)pagefaults 0swaps