update onnx_export.py usage
This commit is contained in:
1 parent
80b82e8bde
commit
e249792c2f
1 file changed
-1
@@ -1,7 +1,6 @@
|
||||
"""Exports a pytorch *.pt model to *.onnx format
|
||||
|
||||
Usage:
|
||||
import torch
|
||||
$ export PYTHONPATH="$PWD" && python models/onnx_export.py --weights ./weights/yolov5s.pt --img 640 --batch 1
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user