Window Intel deployment OpenVINO runtime

First of all, it is recommended to use Douban to download the source

https://pypi.doubanio.com/simple

First follow the official  website address (here, for example, the download supports tensorflow, onnx, in fact, it is recommended to add pytorch)

python -m venv openvino_env 
openvino_env\Scripts\activate
# 其中升级pip就不说了
pip install openvino-dev[ONNX,tensorflow2]==2022.2.0

Then click the picture below

python -m venv openvino_env 
openvino_env\Scripts\activate

But if you use this paragraph (add -i later, I won’t say it), the import package may still report an error after the installation is complete.

pip install openvino==2022.2.0   #******

 Check with the following code

python -c "from openvino.runtime import Core"

If you use a piece of code with *, it is easy to appear

If an error is reported, the piece of code with * above uses

pip install openvino

Then test again, the installation is successful

 Reference article: 

https://docs.openvino.ai/latest/openvino_docs_install_guides_installing_openvino_pip.html#doxid-openvino-docs-install-guides-installing-openvino-pip

 https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/ModuleNotFoundError-No-module-named-openvino/m-p/1189217

 

Guess you like

Origin blog.csdn.net/sbsbsb666666/article/details/128155470
Recommended