Revert to ONNXSlim 0.1.32 (#16084)
This commit is contained in:
parent
a2993108e9
commit
ccd2937aa1
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ class Exporter:
|
||||||
"""YOLOv8 ONNX export."""
|
"""YOLOv8 ONNX export."""
|
||||||
requirements = ["onnx>=1.12.0"]
|
requirements = ["onnx>=1.12.0"]
|
||||||
if self.args.simplify:
|
if self.args.simplify:
|
||||||
requirements += ["onnxslim>=0.1.31", "onnxruntime" + ("-gpu" if torch.cuda.is_available() else "")]
|
requirements += ["onnxslim==0.1.32", "onnxruntime" + ("-gpu" if torch.cuda.is_available() else "")]
|
||||||
check_requirements(requirements)
|
check_requirements(requirements)
|
||||||
import onnx # noqa
|
import onnx # noqa
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue