简体   繁体   English

OPENVINO-python,无法从“openvino.inference_engine”导入名称“IEPlugin”

[英]OPENVINO-python, cannot import name 'IEPlugin' from 'openvino.inference_engine'

I am trying to run a project developed with openvino 2019. I have version 2021 and I cannot downgrade to the old version.我正在尝试运行一个用 openvino 2019 开发的项目。我有 2021 版,我无法降级到旧版本。 According to intel, the IENetwork and IEPlugin class has already been eliminated.据 intel 称,IENetwork 和 IEPlugin 类已经被淘汰。 What do you recommend for it to work?你有什么建议让它工作? I attach the repository: https://github.com/vyzboy92/people_detection_tracking-CPU/blob/master/multi_camera_people_detection.py我附上存储库: https : //github.com/vyzboy92/people_detection_tracking-CPU/blob/master/multi_camera_people_detection.py

enter image description here在此处输入图片说明

EDIT: I realized in the installation guide , the version selection doesn't go below than 2020编辑:我在安装指南中意识到,版本选择不会低于2020

You could install it on their GitHub .你可以在他们的 GitHub 上安装它。 Looking at the directories of the source code, it looks like the python library is at查看源代码的目录,看起来python库在

openvino-2019_R3.1\inference-engine\ie_bridges\python\src\openvino

Try uninstalling the latest version and put the folder in your site-packages .尝试卸载最新版本并将文件夹放在您的site-packages

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM