[Fix] Replace args.out with args.work_dir

This commit is contained in:
hugh98 2022-05-05 09:56:13 +08:00
parent 3f3b6b4fd0
commit 998e1a3fce

View File

@ -92,7 +92,7 @@ def parse_args():
'refers to https://mmclassification.readthedocs.io/en/latest/'
'getting_started.html#inference-with-pretrained-models')
assert args.metrics or args.out, \
assert args.metrics or args.work_dir, \
'Please specify at least one of output path and evaluation metrics.'
return args