FPGA AI Suite Handbook

ID 863373
Date 11/21/2025
Public
Document Table of Contents

5.1.11.1. Preparing a YOLOv3 Model

As stated in Preparing a Model for the PCIe Design Example, a model must be converted from a framework (such as TensorFlow, Caffe, or Pytorch) into a pair of .bin and .xml files before the FPGA AI Suite compiler (dla_compiler command) can ingest the model.

The following commands download the YOLOv3 TensorFlow model and run Model Optimizer:
source ~/build-openvino-dev/openvino_env/bin/activate

omz_downloader --name yolo-v3-tf \ 
    --output_dir $COREDLA_WORK/demo/models/ 

omz_converter --name yolo-v3-tf \
    --download_dir $COREDLA_WORK/demo/models/ \
    --output_dir $COREDLA_WORK/demo/models/

These commands create .bin and .xml files in the demo/models/public/yolo-v3-tf/FP32/ directory.