Skip To Main Content
Support Knowledge Base

Unable to Run YOLOv7 Custom Model in OpenVINO™ with MYRIAD

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

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.