Article ID: 000093104 Content Type: Troubleshooting Last Reviewed: 02/15/2023

Unable to Run YOLOv7 Custom Model in OpenVINO™ with MYRIAD

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps to convert and infer YOLOv7 model in OpenVINO™

Description

Unable to determine how to convert YOLOv7 model's weight (.pt file) to OpenVINO™ Intermediate Representation (IR) and infer the IR with MYRIAD.

Resolution
  1. Convert YOLOv7 model into ONNX format using export.py script from this GitHub* repository

  2. Convert ONNX model into IR with FP16 precision:
    mo -m yolov7.onnx --reverse_input_channel --data_type FP16

  3. Infer IR with benchmark_app and MYRIAD:
    benchmark_app -m yolov7.xml -d MYRIAD

Related Products

This article applies to 1 products