Article ID: 000056748 Content Type: Troubleshooting Last Reviewed: 06/06/2023

How to Convert Caffe Models to IR Format?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps on how to convert Caffe models to Intermediate Representation to run inference.

Description

How to do conversion from Caffe to IR and include regionyolo_extension? 

Resolution

To convert a Caffe model:

  1. Go to the lt_INSTALL_DIR>/deployment_tools/model_optimizer directory.
  2. Use the mo.py script to simply convert a model with the path to the input model.caffemodel file:

    python3 mo.py --input_model <INPUT_MODEL>.caffemodel

 

For more detailed information go to the Converting  Caffe* Model Guide.

Additional information

Information taken from the Model Optimizer Caffe Model Guide.

Related Products

This article applies to 1 products