Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.69 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.69 KB

Introduction

The Age/GenderNet network (on GitHub can be used for image classification. The provided Makefile does the following

  1. Downloads the Caffe prototxt file and makes few changes necessary to work with the Movidius Neural Compute SDK
  2. Downloads and generates the required age/gender mean data
  3. Downloads the .caffemodel file which was trained and provided by Gil Levi.
  4. Profiles, Compiles and Checks the network using the Neural Compute SDK.
  5. There is a run.py provided that does a single inference on a provided image as an example on how to use the network using the Neural Compute API

Makefile

Provided Makefile describes various targets that help with the above mentioned tasks.

make all

Runs ncprofile, nccompile and run.

make profile

Runs the provided network on the NCS and generates per layer statistics that are helpful for understanding the performance of the network on the Neural Compute Stick.

make compile

Uses the network description and the trained weights files to generate a Movidius internal 'graph' format file. This file is later used for loading the network on to the Neural Compute Stick and executing the network.

make run

Runs the provided run.py file which sends a single image to the Neural Compute Stick and receives and displays the inference results.

make check

Runs the network on Caffe on CPU and runs the network on the Neural Compute Stick. Check then compares the two results to make sure they are consistent with each other.

make clean

Removes all the temporary files that are created by the Makefile