Browse Source

update test.py

5.0
Glenn Jocher 4 years ago
parent
commit
1ce686edfc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test.py

+ 1
- 1
test.py View File

parser.add_argument('--merge', action='store_true', help='use Merge NMS') parser.add_argument('--merge', action='store_true', help='use Merge NMS')
parser.add_argument('--verbose', action='store_true', help='report mAP by class') parser.add_argument('--verbose', action='store_true', help='report mAP by class')
opt = parser.parse_args() 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 opt.data = check_file(opt.data) # check file
print(opt) print(opt)



Loading…
Cancel
Save