This example trains a simple 2-layer fully connected model on the MNIST numeral data set.
mnist.py
The main Python script.README.md
This file.
-
Prepare the TensorFlow environment.
Install the Poplar SDK. Make sure to run the enable.sh script for Poplar and activate a Python virtualenv with the tensorflow-2 wheel from the Poplar SDK installed.
-
Train the graph.
python mnist.py
By default, the demo runs a two layer fully connected model.
There are no options for this script.