Skip to content

Commit 90bb3fd

Browse files
authored
AC: update imports for openvino 2.0 (#2942)
1 parent 9a4f7a8 commit 90bb3fd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tools/accuracy_checker/.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ disable = C0103,
2222
max-line-length = 120
2323
ignore-docstrings = yes
2424
extension-pkg-whitelist=inference_engine,cv2,numpy,mxnet,tensorflow,pycocotools,onnxruntime,kenlm,paddle,torchvision
25-
ignored-modules = numpy,cv2,openvino.inference_engine,caffe,mxnet,tensorflow,pycocotools,onnxruntime,torch,kenlm,paddle.fluid.core,torchvision,openvino.pyopenvino,openvino.ie_api,openvino.impl
25+
ignored-modules = numpy,cv2,openvino.inference_engine,caffe,mxnet,tensorflow,pycocotools,onnxruntime,torch,kenlm,paddle.fluid.core,torchvision,openvino.runtime.impl,openvino.runtime
2626
load-plugins = pylint_checkers
2727
ignored-classes = pathlib.PurePath
2828
jobs=0

tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
import re
2121
import warnings
2222
import numpy as np
23-
from openvino.ie_api import Core, AsyncInferQueue
24-
from openvino.pyopenvino import get_version
25-
from openvino.impl import Type, PartialShape
23+
from openvino.runtime import Core, AsyncInferQueue, get_version, PartialShape
24+
from openvino.runtime.impl import Type
2625
from .dlsdk_launcher_config import (
2726
HETERO_KEYWORD, MULTI_DEVICE_KEYWORD, NIREQ_REGEX, VPU_PLUGINS,
2827
get_cpu_extension, mo_convert_model,

0 commit comments

Comments
 (0)