mirror of
https://github.com/open-mmlab/mmfewshot.git
synced 2025-06-03 14:49:43 +08:00
[Fix] Replace args.out with args.work_dir
This commit is contained in:
parent
3f3b6b4fd0
commit
998e1a3fce
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user