提交 1ce686ed authored 作者: Glenn Jocher's avatar Glenn Jocher

update test.py

上级 6bd92189
...@@ -236,7 +236,7 @@ if __name__ == '__main__': ...@@ -236,7 +236,7 @@ if __name__ == '__main__':
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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论