OpenVINO部署YOLOv5——Python版本

GitHub - SamSamhuns/yolov5_export_cpu: Exporting YOLOv5 for CPU inference with ONNX and OpenVINOExporting YOLOv5 for CPU inference with ONNX and OpenVINO - GitHub - SamSamhuns/yolov5_export_cpu: Exporting YOLOv5 for CPU inference with ONNX and OpenVINOhttps://github.com/SamSamhuns/yolov5_export_cpu

GitHub - dacquaviva/yolov5-openvino-cpp-python: Example of using ultralytics YOLOv5 with Openvino in C++ and Python.Example of using ultralytics YOLOv5 with Openvino in C++ and Python. - GitHub - dacquaviva/yolov5-openvino-cpp-python: Example of using ultralytics YOLOv5 with Openvino in C++ and Python.https://github.com/dacquaviva/yolov5-openvino-cpp-python 可以参照第二个github链接进行布置,windows下的python部署

主要配置两个环境即可

新建一个虚拟环境,我是新建一个python3.7的环境

然后进去openvino官网下载

Download Intel® Distribution of OpenVINO™ ToolkitDownload a version of the Intel® Distribution of OpenVINO™ toolkit for Linux, Windows, or macOS.https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html

OpenVINO部署YOLOv5——Python版本_第1张图片

 下面就会显示:


                  pip install openvino-dev[ONNX]==2022.1.0
                

然后再安装opencv-python

pip install opencv-python

然后可以按着第二github链接操作即可,前提是将权重文件转成xml和bin文件格式

你可能感兴趣的:(人工智能,深度学习)