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 : 3611576 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 : 5549>100 please execute split_portfolio.py -i 24901762 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3277872'] with mtr_portfolio_ids : ['24901762'] and first list_photo_ids : [] new path : /proc/3611576/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9464590549468994 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 Jul 14 21: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/1752520649_3611576_1372133614_c3cb26a4adfeda94ebb53fe96bbd079a.jpg resize: (1080, 1632) 1372133614 -5.469164402781021 treat image : temp/1752520649_3611576_1372133612_bc9a361e827ceb35e668400f80aceb46.jpg resize: (1080, 1632) 1372133612 -5.475218943469007 treat image : temp/1752520649_3611576_1372133611_3b5f399f8ccf3911b7580ef053e7cea1.jpg resize: (1080, 1632) 1372133611 -5.472324379334168 treat image : temp/1752520649_3611576_1372133609_b89d43c85783a95ca86428d6598d7a04.jpg resize: (1080, 1632) 1372133609 -5.473768251261117 treat image : temp/1752520649_3611576_1372133608_fe61a196dbafb4b1d9474e19fd2d2873.jpg resize: (1080, 1632) 1372133608 -5.476221272268646 treat image : temp/1752520649_3611576_1372133606_c1d6efa9e8af3057c25dd2d9d8d4fb2c.jpg resize: (1080, 1632) 1372133606 -5.4794301876791325 treat image : temp/1752520649_3611576_1372133586_cc03dcdf4e4f8a581deef314d0ca9d75.jpg resize: (1080, 1632) 1372133586 -5.475670208754874 treat image : temp/1752520649_3611576_1372133584_38eff9572dae306eb6408fa77e5e862f.jpg resize: (1080, 1632) 1372133584 -5.470028196115136 treat image : temp/1752520649_3611576_1372133582_4f726b3c5edb80008414594004d3806c.jpg resize: (1080, 1632) 1372133582 -5.461794283133631 treat image : temp/1752520649_3611576_1372133580_6f8a0329c11d6a17d3769a7e7b841aea.jpg resize: (1080, 1632) 1372133580 -5.466214221189027 treat image : temp/1752520649_3611576_1372133579_006365d8096f5070b0bca5ee277d2b15.jpg resize: (1080, 1632) 1372133579 -5.464941673813116 treat image : temp/1752520649_3611576_1372133578_81cad3c6782abbf49e2891fb09eb798b.jpg resize: (1080, 1632) 1372133578 -5.468658894986219 treat image : temp/1752520649_3611576_1372133562_8660fcd00cc10ce818e6cd136774d808.jpg resize: (1080, 1632) 1372133562 -5.461122843682204 treat image : temp/1752520649_3611576_1372133560_ed922fcfe9b90dad74aa6b8dc522052d.jpg resize: (1080, 1632) 1372133560 -5.460859256624607 treat image : temp/1752520649_3611576_1372133558_39a589f9e165cfa329f312a86ab331be.jpg resize: (1080, 1632) 1372133558 -5.468963599611939 treat image : temp/1752520649_3611576_1372133556_607e384d91f918d6f5550abc85fbdc3c.jpg resize: (1080, 1632) 1372133556 -5.474045467076507 treat image : temp/1752520649_3611576_1372133555_2a12726adddcbd6f46a5122d900d6e5b.jpg resize: (1080, 1632) 1372133555 -5.4696646577599415 treat image : temp/1752520649_3611576_1372133554_2de6d07b5136fdfa0f4ff4c9c774468f.jpg resize: (1080, 1632) 1372133554 -5.473371605263008 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 : 18 time used for this insertion : 0.013063907623291016 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.011999130249023438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.0159299373626709 save missing photos in datou_result : time spend for datou_step_exec : 12.982819557189941 time spend to save output : 0.046459197998046875 total time spend for step 1 : 13.029278755187988 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.26user 3.20system 0:18.83elapsed 82%CPU (0avgtext+0avgdata 139436maxresident)k 0inputs+8808outputs (17major+238448minor)pagefaults 0swaps