From 4e0067cdc949e8203bb6cb28b327eccc86741758 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 30 Nov 2019 17:14:53 -0800 Subject: [PATCH] updates --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index d18a66b3..c6656246 100644 --- a/test.py +++ b/test.py @@ -200,8 +200,8 @@ if __name__ == '__main__': parser.add_argument('--cfg', type=str, default='cfg/yolov3-spp.cfg', help='cfg file path') parser.add_argument('--data', type=str, default='data/coco.data', help='coco.data file path') parser.add_argument('--weights', type=str, default='weights/yolov3-spp.weights', help='path to weights file') - parser.add_argument('--batch-size', type=int, default=2, help='size of each image batch') - parser.add_argument('--img-size', type=int, default=800, help='inference size (pixels)') + parser.add_argument('--batch-size', type=int, default=16, help='size of each image batch') + parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)') parser.add_argument('--iou-thres', type=float, default=0.5, help='iou threshold required to qualify as detected') parser.add_argument('--conf-thres', type=float, default=0.001, help='object confidence threshold') parser.add_argument('--nms-thres', type=float, default=0.5, help='iou threshold for non-maximum suppression')