Skip to content

Commit

Permalink
change --eval arg from list to str "mAP" (open-mmlab#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
motokimura authored Jul 28, 2020
1 parent 455cd88 commit 8327d3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ def parse_args():
parser.add_argument('--out', help='output result file')
parser.add_argument(
'--eval',
type=str,
nargs='+',
choices=['mAP'],
default='mAP',
help='evaluation metric, which depends on the dataset,'
' e.g., "mAP" for MSCOCO')
parser.add_argument(
Expand Down

0 comments on commit 8327d3b

Please sign in to comment.