Pure numpy implementation of LeNet5, to help you understand how CNN works.
- python
- numpy
- opencv
pip install numpy
pip install opencv-python
- Get mnist datasets and put it into the project root directory, then decompress it.
- train
python train.py
- test
python test.py
- Maybe you want to evaluate the accuracy
python eval.py