Skip to content

Commit

Permalink
update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jul 16, 2020
1 parent 6bd9218 commit 1ce686e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test(data,
parser.add_argument('--merge', action='store_true', help='use Merge NMS')
parser.add_argument('--verbose', action='store_true', help='report mAP by class')
opt = parser.parse_args()
opt.save_json = opt.save_json or opt.data.endswith('coco.yaml')
opt.save_json |= opt.data.endswith('coco.yaml')
opt.data = check_file(opt.data) # check file
print(opt)

Expand Down

0 comments on commit 1ce686e

Please sign in to comment.