This commit is contained in:
Glenn Jocher
2019-04-29 18:02:31 +02:00
parent 587522ec56
commit 7e6e1897ac
+1 -1
View File
@@ -27,7 +27,7 @@ def detect(
# Initialize model
if ONNX_EXPORT:
s = (416, 416) # onnx model image size
s = (416, 416) # onnx model image size (height, width)
model = Darknet(cfg, s)
else:
model = Darknet(cfg, img_size)