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 : 3273782 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 : 2567>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/3273782/ 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.6000707149505615 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 17:22:29 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/1747063347_3273782_1357675276_e050ef2567b216a0bbebd0e5c3584fb8.jpg resize: (1080, 1632) 1357675276 -0.9602600751306486 treat image : temp/1747063347_3273782_1357675274_68a5bf88f4ef103c0b0f087331ca97a4.jpg resize: (1080, 1632) 1357675274 -1.7568458584758149 treat image : temp/1747063347_3273782_1357675272_539d9c429cd8166a3778f0467830d924.jpg resize: (1080, 1632) 1357675272 -2.090755774846143 treat image : temp/1747063347_3273782_1357675270_c2ad3ea9abb2ec65704cde448a7f17dd.jpg resize: (1080, 1632) 1357675270 -3.59316418091515 treat image : temp/1747063347_3273782_1357675268_129780eb93f1b6ee7b32ed4d44b2720d.jpg resize: (1080, 1632) 1357675268 -3.9558218983377804 treat image : temp/1747063347_3273782_1357675235_2e504dedd3d85d0e4d6643737b9b9b97.jpg resize: (1080, 1632) 1357675235 -5.856302900199365 treat image : temp/1747063347_3273782_1357675232_0210e46faaeb0fbbdb41f714fd59ad02.jpg resize: (1080, 1632) 1357675232 -5.877907548827765 treat image : temp/1747063347_3273782_1357675230_d1cda63f7534899b506bb22eab27fe93.jpg resize: (1080, 1632) 1357675230 -6.081074312883725 treat image : temp/1747063347_3273782_1357675225_4f6c55961ce99d7a1eb92944201e7e98.jpg resize: (1080, 1632) 1357675225 -4.215288268158345 treat image : temp/1747063347_3273782_1357675222_63124bf32eb8a1c82a1d05a8a36b34c2.jpg resize: (1080, 1632) 1357675222 -5.773545679817758 treat image : temp/1747063347_3273782_1357675219_19e8eff71f16fc17bfbd30bbb9453b0c.jpg resize: (1080, 1632) 1357675219 -6.0168250307821705 treat image : temp/1747063347_3273782_1357675107_877203b31faac622bc39b2febcf1c5ec.jpg resize: (1080, 1632) 1357675107 -5.894950652746933 treat image : temp/1747063347_3273782_1357675104_1c77de6f7bd38bd6d3546c4a7db4c314.jpg resize: (1080, 1632) 1357675104 -3.8290668645695223 treat image : temp/1747063347_3273782_1357675101_ee77f3788d86f556b9036b579447c563.jpg resize: (1080, 1632) 1357675101 -2.0844363125514276 treat image : temp/1747063347_3273782_1357675097_e024f1841c63a4e92e6fb4707a0c1a59.jpg resize: (1080, 1632) 1357675097 -2.2208660242940494 treat image : temp/1747063347_3273782_1357675068_6a52ca3d51951879b53e80fb77f3e3dd.jpg resize: (1080, 1632) 1357675068 -3.7488548949445653 treat image : temp/1747063347_3273782_1357675064_af1d37fcb1175179a3fdccd1882c2216.jpg resize: (1080, 1632) 1357675064 -6.072499291446799 treat image : temp/1747063347_3273782_1357675059_2e0bc0f0ccd6c88c2496ea373d7dc2f0.jpg resize: (1080, 1632) 1357675059 -3.005482175115077 treat image : temp/1747063347_3273782_1357675054_215444a7d53db92203a4cf29637c1546.jpg resize: (1080, 1632) 1357675054 -4.6954522151766085 treat image : temp/1747063347_3273782_1357675049_92a58c646461f9153ce4b68ab36ba30c.jpg resize: (1080, 1632) 1357675049 -3.581875813709916 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.012903928756713867 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.012838602066040039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01510167121887207 save missing photos in datou_result : time spend for datou_step_exec : 19.52708077430725 time spend to save output : 0.04538297653198242 total time spend for step 1 : 19.572463750839233 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 7.46system 0:23.57elapsed 94%CPU (0avgtext+0avgdata 139564maxresident)k 2600inputs+9816outputs (12major+257364minor)pagefaults 0swaps