Skip to content

Commit

Permalink
fix minor typos (open-mmlab#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
ly015 authored Mar 4, 2021
1 parent b553bc4 commit ffb2422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def parse_args():
'the inference speed')
parser.add_argument(
'--eval',
default='mAP',
default=None,
nargs='+',
help='evaluation metric, which depends on the dataset,'
' e.g., "mAP" for MSCOCO')
Expand Down Expand Up @@ -126,7 +126,7 @@ def main():
args.gpu_collect)

rank, _ = get_dist_info()
eval_config = cfg.get('eval_config', {})
eval_config = cfg.get('evaluation', {})
eval_config = merge_configs(eval_config, dict(metric=args.eval))

if rank == 0:
Expand Down

0 comments on commit ffb2422

Please sign in to comment.