Skip to content

Commit 90e1192

Browse files
fix(imports): update OpenVINO import paths in inferencer and post-pro… (#2829)
fix(imports): update OpenVINO import paths in inferencer and post-pro… (#2789) fix(imports): update OpenVINO import paths in inferencer and post-processor Signed-off-by: IceboxDev <mantas_kandratavicius@yahoo.com> Co-authored-by: Mantas Kandratavičius <mantas_kandratavicius@yahoo.com>
1 parent 190b35b commit 90e1192

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/markdown/guides/how_to/models/post_processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ One key advantage of Anomalib's post-processor design is that it becomes part of
144144
```python
145145
from anomalib.models import Patchcore
146146
from anomalib.post_processing import PostProcessor
147-
from openvino.runtime import Core
147+
from openvino import Core
148148
import numpy as np
149149

150150
# Training: Post-processor is part of the model

src/anomalib/deploy/inferencers/openvino_inferencer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
from anomalib.data.utils import read_image
6363

6464
if TYPE_CHECKING:
65-
from openvino.runtime.utils.data_helpers.wrappers import OVDict
65+
from openvino.utils.data_helpers.wrappers import OVDict
6666

6767
logger = logging.getLogger("anomalib")
6868

0 commit comments

Comments
 (0)