参考博客https://blog.csdn.net/weixin_40272441/article/details/87875349。
1. sudo docker search openvino
2.sudo docker run -it cortexica/openvino /bin/bash
3.参照https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html
Install External Software Dependencies
cd /opt/intel/openvino/install_dependencies
./install_openvino_dependencies.sh
4.Configure the Model Optimizer
5.安装完成后,安装深度学习框架
cd /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/install_prerequisites/
./install_prerequisites.sh
6.如何需要装gpu版本的环境
7. 运行demo
在转换模型时出现如下错:
Model Optimizer version: 2019.3.0-375-g332562022
[ ERROR ] -------------------------------------------------
[ ERROR ] ----------------- INTERNAL ERROR ----------------
[ ERROR ] Unexpected exception happened.
[ ERROR ] Please contact Model Optimizer developers and forward the following information:
[ ERROR ] 'Graph' object has no attribute 'node'
[ ERROR ] Traceback (most recent call last):
解法:
- Run
pip3 install networkx==2.3
to enforce 2.3 version of networkx