- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I followed all the steps to install the latest OpenVino toolkit (openvino_2019.1.148) and I am trying to run the initial steps to start the inference tests. I am running everything inside a anaconda environment (the same issue occurs even if I am not in the enviromnent);
Issue1: from openvino import inference_engine as ie
This gives error that No Module named OpenVino. I have run the setup.bat files as recommended. This is resolved if I add
os.chdir("C:\Program Files (x86)\IntelSWTools\openvino\python\python3.5")
before the import. But this gives the Issue2:
Issue2: C:\Program Files (x86)\IntelSWTools\openvino\python\python3.5\openvino\inference_engine\__init__.py in <module> ----> 1 from .ie_api import * 2 __version__ = get_version() 3 __all__ = ['IENetwork', "IEPlugin", "IENetReader"] ImportError: DLL load failed: The specified module could not be found.
How can this be fixed?
EDIT1:
I thnk I solved this by adding
os.chdir("C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\python\python3.7")
before these lines:
from openvino import inference_engine as ie
from openvino.inference_engine import IENetwork, IEPlugin
But now I have a new error in line: exec_net = plugin.load(network=net)
RuntimeError: program creation failed: Program build failed: 5:631:16: warning: unknown attribute 'intel_reqd_sub_group_size' ignored 5:658:45: error: implicit declaration of function 'intel_sub_group_block_read_us8' is invalid in OpenCL 5:623:60: note: expanded from h
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thnk I solved this by adding
os.chdir("C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\python\python3.7")
before these lines:
from openvino import inference_engine as ie
from openvino.inference_engine import IENetwork, IEPlugin
But now I have a new error in line: exec_net = plugin.load(network=net)
RuntimeError: program creation failed: Program build failed: 5:631:16: warning: unknown attribute 'intel_reqd_sub_group_size' ignored 5:658:45: error: implicit declaration of function 'intel_sub_group_block_read_us8' is invalid in OpenCL 5:623:60: note: expanded from h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thnk I solved this by adding
os.chdir("C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\python\python3.7")
before these lines:
from openvino import inference_engine as ie
from openvino.inference_engine import IENetwork, IEPlugin
But now I have a new error in line: exec_net = plugin.load(network=net)
RuntimeError: program creation failed: Program build failed: 5:631:16: warning: unknown attribute 'intel_reqd_sub_group_size' ignored 5:658:45: error: implicit declaration of function 'intel_sub_group_block_read_us8' is invalid in OpenCL 5:623:60: note: expanded from h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Karve, Omkar,
Happy to hear that you solved the first problem by adding os.chdir("C:\Program Files (x86)\IntelSWTools\openvino_2019.1.148\python\python3.7"). To start with here is what I would do.
1)make sure you run bin\setupvars.bat (or *.sh)
2) Go into inference_engine\samples\python_samples and copy one of the sample folders into your own and rename it. Please rename the contained *.py to your own name as well (matching the folder name)
3) run your code
I think most likely your environment variables are not set properly.
Thanks,
Shubha

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page