From d9b010865eeb1c847bb599ed3e58c362e091a4b5 Mon Sep 17 00:00:00 2001 From: lxs01517514 Date: Thu, 26 Oct 2023 10:01:13 +0800 Subject: [PATCH] update --- tests/test_tools/test_predict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tools/test_predict.py b/tests/test_tools/test_predict.py index 74c163fd..a6852eaf 100644 --- a/tests/test_tools/test_predict.py +++ b/tests/test_tools/test_predict.py @@ -85,10 +85,10 @@ def test_predict_oss_path(self): ak_secret = oss_config['ak_secret'] hosts = oss_config['hosts'] + ['oss-cn-hangzhou.aliyuncs.com'] hosts = ','.join(_ for _ in hosts) - buckets = oss_config['buckets'] + ['easycv'] + buckets = oss_config['buckets'] buckets = ','.join(_ for _ in buckets) - input_file = 'oss://easycv/data/small_test_data/test_images/http_image_list.txt' + input_file = 'oss://pai-vision-data-hz.oss-cn-hangzhou-internal.aliyuncs.com/data/small_test_data/test_images/http_image_list.txt' output_file = tempfile.NamedTemporaryFile('w').name cmd = f'PYTHONPATH=. python tools/predict.py \ --input_file {input_file} \