Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] MYRIAD unable to run #11476

Closed
Averen19 opened this issue Apr 6, 2022 · 12 comments
Closed

[Bug] MYRIAD unable to run #11476

Averen19 opened this issue Apr 6, 2022 · 12 comments

Comments

@Averen19
Copy link

Averen19 commented Apr 6, 2022

Hello, I'm trying to run a yolov5 model with openvino and NCS2. My assumption with installing openvino is that it comes preinstalled with NCS2 dependencies, but when I'm trying to run with NCS2 I get the following issue:

image

@Averen19 Averen19 added bug Something isn't working support_request labels Apr 6, 2022
@mateusztabaka
Copy link
Contributor

Hi, have you tried to run setupvars.bat script before running the inference?

@Averen19
Copy link
Author

Averen19 commented Apr 6, 2022

@mateusztabaka yes I have. I am able to run with my cpu but not with MYRIAD. It seems that the openvino 2022 does not have the inference engine folder which was found in the 2021 version, so I do not know where to install the myriad driver neccessary.

@dkurt
Copy link
Contributor

dkurt commented Apr 6, 2022

@Averen19, Do you use PyPI version? MYRIAD plugin has been removed from PyPI wheel because of license incompatibility. Please try a distribution: https://registrationcenter-download.intel.com/akdlm/irc_nas/18618/w_openvino_toolkit_p_2022.1.0.643_offline.exe

@Averen19
Copy link
Author

Averen19 commented Apr 6, 2022

Hi, whats the difference between your link and the one available from intel directly [https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html] I tried to download your version but it says I already have the files.

@dkurt
Copy link
Contributor

dkurt commented Apr 6, 2022

Oh, that's the same but just a direct link. I just checked my Windows install and can find myriad plugin:

cache.json                       openvino_intel_gpu_plugin.dll*
gna.dll*                         openvino_intel_hddl_plugin.dll*
openvino.dll*                    openvino_intel_myriad_plugin.dll*
openvino_auto_batch_plugin.dll*  openvino_ir_frontend.dll*
openvino_auto_plugin.dll*        openvino_onnx_frontend.dll*
openvino_c.dll*                  openvino_paddle_frontend.dll*
openvino_gapi_preproc.dll*       openvino_tensorflow_fe.dll*
openvino_hetero_plugin.dll*      pcie-ma2x8x.elf
openvino_intel_cpu_plugin.dll*   plugins.xml
openvino_intel_gna_plugin.dll*   usb-ma2x8x.mvcmd

Can you please share exact commands which are used? Try on a new prompt:

call "C:\Program Files (x86)\Intel\openvino_2022\setupvars.bat"

then verify that OpenVINO Python is from C:\Program Files (x86)\Intel\openvino_2022:

import openvino
print(openvino.__file__)

should be:

C:\Program Files (x86)\intel\openvino_2022\python\python3.8\openvino\__init__.py

(3.8 or other Python version)

@Averen19
Copy link
Author

Averen19 commented Apr 6, 2022

I cant seem to find the setupvars.bat found in previous versions of Openvino, and in the 2022 version it doesnt have folders for inference engine or model optimizer either.
image

@dkurt
Copy link
Contributor

dkurt commented Apr 6, 2022

Seems like it's not properly installed - try double-click on w_openvino_toolkit_p_2022.1.0.643_offline.exe and follow install GUI or by the following command:

start /WAIT w_openvino_toolkit_p_2022.1.0.643_offline.exe -s -a --silent --eula accept

@Averen19
Copy link
Author

Averen19 commented Apr 6, 2022

I have tried reinstalling again, and to ensure that I did install with Movidius, the following image can be referrenced.
image

I tried your example and got the following:
image

@dkurt
Copy link
Contributor

dkurt commented Apr 6, 2022

Sorry - I forgot a dot symbol

print(openvino.__file__)

@Averen19
Copy link
Author

Averen19 commented Apr 6, 2022

Ah thank you very much, I finally got it to work. But my end goal is to run this on raspberry pi with ncs2. I tried finding openvino 2022 for raspbian but was unable to find it and the latest version was only until 2021.2 https://download.01.org/opencv/ . What do you recommend the steps I should take to be able to run inferrencing on RPI?

@brmarkus
Copy link

brmarkus commented Apr 6, 2022

There were several questions asked about RPI and MyriadX/NCS2.
MyriadX is used successfully on RPI(4).
You can find several (solved) issues under "https://github.com/openvinotoolkit/openvino/issues?q=is%3Aissue+RPI".

@jgespino
Copy link
Contributor

jgespino commented Apr 6, 2022

@Averen19 I will work with you on your original issue here: #11458 for the raspberry pi package. Closing this issue as your MYRIAD issue has been resolved for Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants