ultralytics 8.2.39 update onnxslim>=0.1.31 (#13883)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Kayzwer <68285002+Kayzwer@users.noreply.github.com>
This commit is contained in:
parent
4adf5a003c
commit
3df9d278dc
3 changed files with 4 additions and 4 deletions
|
|
@ -388,7 +388,7 @@ class Exporter:
|
|||
"""YOLOv8 ONNX export."""
|
||||
requirements = ["onnx>=1.12.0"]
|
||||
if self.args.simplify:
|
||||
requirements += ["onnxslim==0.1.28", "onnxruntime" + ("-gpu" if torch.cuda.is_available() else "")]
|
||||
requirements += ["onnxslim>=0.1.31", "onnxruntime" + ("-gpu" if torch.cuda.is_available() else "")]
|
||||
check_requirements(requirements)
|
||||
import onnx # noqa
|
||||
|
||||
|
|
@ -827,7 +827,7 @@ class Exporter:
|
|||
"onnx>=1.12.0",
|
||||
"onnx2tf>1.17.5,<=1.22.3",
|
||||
"sng4onnx>=1.0.1",
|
||||
"onnxslim==0.1.28",
|
||||
"onnxslim>=0.1.31",
|
||||
"onnx_graphsurgeon>=0.3.26",
|
||||
"tflite_support<=0.4.3" if IS_JETSON else "tflite_support", # fix ImportError 'GLIBCXX_3.4.29'
|
||||
"flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue