Skip to content

Commit 2d1aa89

Browse files
committed
Move to newer OMZ
After this is merged It will be required to release model_api 0.2.0 only after openvino 2024.0 because model_api is going to import OMZ using a new namespace
1 parent 0045fb3 commit 2d1aa89

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

examples/python/synchronous_api/run.py

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import sys
1919

2020
import cv2
21-
import openvino.runtime as ov
2221
from openvino.model_api.models import (
2322
ClassificationModel,
2423
DetectionModel,

model_api/python/openvino/model_api/adapters/openvino_adapter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __init__(
185185
self.model = core.read_model(self.model_path, weights_path)
186186
return
187187
if isinstance(model, str):
188-
from openvino.model_zoo.models import OMZModel, list_models
188+
from omz_tools.models import OMZModel, list_models
189189

190190
if model in list_models():
191191
omz_model = OMZModel.download(

model_api/python/requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
numpy>=1.16.6
22
opencv-python
33
scipy>=1.5.4
4-
openvino>=2023.0.0
4+
# TODO: set 2024.0 after the release
5+
openvino>=2023.3
56
openvino-dev>=2023.0.0
7+
omz_tools @ git+https://github.com/openvinotoolkit/open_model_zoo.git@master#egg=omz_tools&subdirectory=tools/model_tools

0 commit comments

Comments
 (0)