Simplify ONNX inference command (#4405)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-08-13 13:22:13 +02:00
1 parent 3e7c59ad3b
commit 57c342a6a5
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ def export_onnx(model, img, file, opset, train, dynamic, simplify):
except Exception as e:
print(f'{prefix} simplifier failure: {e}')
print(f'{prefix} export success, saved as {f} ({file_size(f):.1f} MB)')
print(f"{prefix} run --dynamic ONNX model inference with detect.py: 'python detect.py --weights {f}'")
print(f"{prefix} run --dynamic ONNX model inference with: 'python detect.py --weights {f}'")
except Exception as e:
print(f'{prefix} export failure: {e}')