Update Exporter for `tf_keras` install (#13231)

pull/13222/head^2
Glenn Jocher 6 months ago committed by GitHub
parent 1a40d30dbf
commit 6b28bb6e48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      ultralytics/engine/exporter.py

@ -819,7 +819,8 @@ class Exporter:
check_requirements("cmake") # 'cmake' is needed to build onnxsim on aarch64
check_requirements(
(
"keras",
"keras", # required by onnx2tf package
"tf_keras", # required by onnx2tf package
"onnx>=1.12.0",
"onnx2tf>1.17.5,<=1.22.3",
"sng4onnx>=1.0.1",

Loading…
Cancel
Save