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 : 2902162 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 : 1764>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2902162/ 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.1834983825683594 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 May 21 14:12: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/1747829548_2902162_1360035052_8d12053d9e592ba2bc1c8f087994b3f5.jpg resize: (1080, 1632) 1360035052 -5.0116081993726 treat image : temp/1747829548_2902162_1360035046_260e1f103cf4ff534ef0d10542c3a2e7.jpg resize: (1080, 1632) 1360035046 -5.241548647432175 treat image : temp/1747829548_2902162_1360035043_fed1bbe42c991076fce2aad447190f2b.jpg resize: (1080, 1632) 1360035043 -4.8123806006967556 treat image : temp/1747829548_2902162_1360035038_04baf88962105ed17cd33309d1c81cb2.jpg resize: (1080, 1632) 1360035038 -1.5765405015557712 treat image : temp/1747829548_2902162_1360035013_0366bd77e1a351b42feeb0ec784e7f72.jpg resize: (1080, 1632) 1360035013 -1.8267254216473117 treat image : temp/1747829548_2902162_1360035009_44e0c93687297fcfaabbd300cc874678.jpg resize: (1080, 1632) 1360035009 -6.194063148615018 treat image : temp/1747829548_2902162_1360035004_d7ba2de4b8575d3b8f1bbc1d89bdc5dd.jpg resize: (1080, 1632) 1360035004 -6.221636144968621 treat image : temp/1747829548_2902162_1360034999_efd5ad2b895271a46eda02df9baada8d.jpg resize: (1080, 1632) 1360034999 -5.744469432885855 treat image : temp/1747829548_2902162_1360034994_58f006a518d68dca9f02b2e0fa2beb47.jpg resize: (1080, 1632) 1360034994 -5.347625429675384 treat image : temp/1747829548_2902162_1360034988_6d51580f4558fc044a7103c93ac10615.jpg resize: (1080, 1632) 1360034988 -5.173732988136838 treat image : temp/1747829548_2902162_1360034956_e9aae821a818926dfeab2bef3df28b68.jpg resize: (1080, 1632) 1360034956 -3.36605790858762 treat image : temp/1747829548_2902162_1360034952_02568882bc73032129257b03368ca07b.jpg resize: (1080, 1632) 1360034952 -4.609830230518276 treat image : temp/1747829548_2902162_1360034948_0576baeb3071fda2afbe997eb84a189f.jpg resize: (1080, 1632) 1360034948 -1.420912470791721 treat image : temp/1747829548_2902162_1360034935_3d42c47329e8af61ec685a52640deaf4.jpg resize: (1080, 1632) 1360034935 -4.086354005343844 treat image : temp/1747829548_2902162_1360034920_d5f5706e6f44cad7bbd741ac8ab1d1c5.jpg resize: (1080, 1632) 1360034920 -5.377464590024187 treat image : temp/1747829548_2902162_1360034914_929c0056e35bc687ee0e0682b6328038.jpg resize: (1080, 1632) 1360034914 -5.620441243214604 treat image : temp/1747829548_2902162_1360034880_adac54799e54b7b860b86fc94a13da84.jpg resize: (1080, 1632) 1360034880 -5.319564236514646 treat image : temp/1747829548_2902162_1360034846_d0b55bf713c764622b8fd0f2bb4455cc.jpg resize: (1080, 1632) 1360034846 -4.6115319579620655 treat image : temp/1747829548_2902162_1360034817_bab9292de46a4df445e7fc1e55460e9a.jpg resize: (1080, 1632) 1360034817 -3.765095106590516 treat image : temp/1747829548_2902162_1360034787_c8e003cd8e57c75ebc9c28a4cf85a36f.jpg resize: (1080, 1632) 1360034787 -5.8050578253770775 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.015380382537841797 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.014894723892211914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013859748840332031 save missing photos in datou_result : time spend for datou_step_exec : 16.411733150482178 time spend to save output : 0.048944950103759766 total time spend for step 1 : 16.460678100585938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 4.44system 0:22.60elapsed 84%CPU (0avgtext+0avgdata 137816maxresident)k 40inputs+9512outputs (6major+260061minor)pagefaults 0swaps