Data for LeNet can be downloaded as follows:
./download_mnist.sh
Weights produced by training the model in Torch have been provided. The training script (closely following the one found here) is provided.
To run LeNet inference:
cd ../../build
./examples/lenet/lenet ../examples/lenet/weights ../examples/lenet/data
An additional integer argument may be provided to limit the number of workers.