This guide will walk you through the deployment of a Caffe model to an ultra-low-cost and low-power Arm Cortex-M based processor. For this guide we will be using the OpenMV board, developed by two Arm Innovators, Ibrahim Abdalkader and Kwabena W. Agyeman.
In this guide, you will work through the following steps:
- Set up Environment
- Training the Neural Network Model
Note: Training the Neural Network Model is provided for completeness, and is not required to be performed for this guide.
- Define the model.
- Prepare the dataset.
- Train the model in Caffe.
- Deploy the Model on Arm Cortex-M
- Quantize the model.
- Convert model to binary.
- Deploy on OpenMV.
- Run smile detection.
At the end of this guide, you will be able to deploy an Arm NN model aimed at recognizing smiling faces on an Arm Cortex-M7 processor.
The following image summarizes the deployment flow that you will go through: