The main functional code is in LeNet.py. To run the code, you should do the following:
- Download the MNIST dataset and extract it to "your/path/to/data"
- modify the data path to "your/path/to/data" in fetch_MNIST.py
- execute "python LeNet.py"
Note: Python 2.7 is used to execute. Also, if something goes wrong, it is probably because of the incompatible version of numpy.