Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liaogulou committed Oct 26, 2023
1 parent c495ec1 commit d9b0108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tools/test_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit d9b0108

Please sign in to comment.