Skip to content

Commit b53a398

Browse files
OpenVino 2024.0.0 (ultralytics#8726)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
1 parent f5d883b commit b53a398

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dev = [
9898
export = [
9999
"onnx>=1.12.0", # ONNX export
100100
"coremltools>=7.0; platform_system != 'Windows' and python_version <= '3.11'", # CoreML supported on macOS and Linux
101-
"openvino>=2023.3; python_version <= '3.11'", # OpenVINO export
101+
"openvino>=2024.0.0", # OpenVINO export
102102
"tensorflow<=2.13.1; python_version <= '3.11'", # TF bug https://github.com/ultralytics/ultralytics/issues/5161
103103
"tensorflowjs>=3.9.0; python_version <= '3.11'", # TF.js export, automatically installs tensorflow
104104
]

ultralytics/engine/exporter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def export_onnx(self, prefix=colorstr("ONNX:")):
411411
@try_export
412412
def export_openvino(self, prefix=colorstr("OpenVINO:")):
413413
"""YOLOv8 OpenVINO export."""
414-
check_requirements("openvino>=2023.3") # requires openvino: https://pypi.org/project/openvino/
414+
check_requirements("openvino>=2024.0.0") # requires openvino: https://pypi.org/project/openvino/
415415
import openvino as ov
416416

417417
LOGGER.info(f"\n{prefix} starting export with openvino {ov.__version__}...")

ultralytics/nn/autobackend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def __init__(
190190
# OpenVINO
191191
elif xml:
192192
LOGGER.info(f"Loading {w} for OpenVINO inference...")
193-
check_requirements("openvino>=2023.3")
193+
check_requirements("openvino>=2024.0.0")
194194
import openvino as ov
195195

196196
core = ov.Core()

0 commit comments

Comments
 (0)