我正在与英特尔的openvino 2020合作。 我在网上搜索并尝试了很多解决方案,但都没有成功。 老实说,我还不熟悉python,openvino。所以我真的不理解这个错误。 这就是错误:
Traceback (most recent call last):
File "face_recognition_demo.py", line 27, in <module>
from ie_module import InferenceContext
File "C:\Program Files (x86)\Intel\openvino_2020.3.194\deployment_tools\open_model_zoo\demos\python_demos\face_recognition_demo\ie_module.py", line 20, in <module>
from openvino.inference_engine import IECore
File "C:\Program Files (x86)\Intel\openvino\python\python3.6\openvino\inference_engine\__init__.py", line 1, in <module>
from .ie_api import *
ImportError: DLL load failed: Le module spécifié est introuvable.
我的进口:
import logging as log
import os.path as osp
import sys
import time
from argparse import ArgumentParser
import cv2
import numpy as np
from ie_module import InferenceContext
from landmarks_detector import LandmarksDetector
from face_detector import FaceDetector
from faces_database import FacesDatabase
from face_identifier import FaceIdentifier
我希望你能帮助我
所以是的,我遵循这些步骤
设置OpenVINO环境
cd <INSTALL_DIR>\openvino_2020.3.194\deployment_tools\bin
setupvars.bat
结果: runnigsetupvars 所以我总是收到关于libmmd.dll的警告,我再次研究了一个解决方案,但我找不到这个问题的根源
2.导航到人脸识别演示文件夹
results 最后error 现在我发现了这个错误,尽管OpenCV python已经下载,但我还是尝试遵循我发现的解决方案:
但同样的cv2错误正在显现
您是否通过运行图像分类验证脚本来验证OpenVINO的安装?请参阅下面链接中的文档,并请首先验证您的安装,因为此错误看起来像是环境中的配置错误。 https://docs.openvinotoolkit.org/2020.3/_docs_install_guides_installing_openvino_windows.html#Using-Demo-Scripts
确保完成Installation Guide for Windows上给出的所有步骤。验证完成后,您可以运行交互式人脸识别演示。以下是运行演示的解决方法:
设置OpenVINO环境
cd<;安装目录>\openvino_2020.3.194\deployment_tools\bin
运行setupvars.bat
2.导航到人脸识别演示文件夹
cd<;安装目录>\openvino\u 2020.3.194\deployment\u tools\open\u model\u zoo\demos\python\u demos\face\u recognition\u demo
运行pip安装-r requirement.txt
有关更多详细信息,请查看Interactive Face Recognition Demo文档
请重新安装OpenVINO 2020.3并成功运行验证脚本。然后,再次按照上一个回复中的步骤进行操作,因为我已经验证了这一点,并且一切正常。确保在安装OpenVINO和Microsoft Visual Studio后重新启动计算机
相关问题 更多 >
编程相关推荐