Remove onnxslim==0.1.34 pin (#16974)
This commit is contained in:
parent
3484daa1b5
commit
3204a2a6a7
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ class Exporter:
|
||||||
"""YOLO ONNX export."""
|
"""YOLO ONNX export."""
|
||||||
requirements = ["onnx>=1.12.0"]
|
requirements = ["onnx>=1.12.0"]
|
||||||
if self.args.simplify:
|
if self.args.simplify:
|
||||||
requirements += ["onnxslim==0.1.34", "onnxruntime" + ("-gpu" if torch.cuda.is_available() else "")]
|
requirements += ["onnxslim", "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