ONNX, BCEBlurWithLogitsLoss, plot_study updates
This commit is contained in:
1 parent
18b4da91e0
commit
3a5c5328c5
2 files changed
+24
-4
No files matched your search
@@ -1,6 +1,9 @@
|
||||
# Exports a pytorch *.pt model to *.onnx format
|
||||
# Example usage (run from ./yolov5 directory):
|
||||
# $ export PYTHONPATH="$PWD" && python models/onnx_export.py --weights ./weights/yolov5s.pt --img 640 --batch 1
|
||||
"""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
|
||||
"""
|
||||
|
||||
import argparse
|
||||
|
||||
|
||||
Reference in new issue
Block a user