• Stars
    star
    184
  • Rank 207,996 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The simplest implementation of LeNet5 with mnist in PyTorch. Accuracy: ~99%

LeNet5-MNIST-PyTorch

This is the simplest implementation of the paper "Gradient-based learning applied to document recognition" in PyTorch.

Have a try with artificial intelligence!

Feel free to ask anything!

image

Requirments

Python3
PyTorch >= 0.4.0
torchvision >= 0.1.8

Usage

$git clone https://github.com/ChawDoe/LeNet-5-MNIST-PyTorch.git  
$cd LeNet5-MNIST-PyTorch  
$python3 train.py  

model will now run on GPU if available

Hint

This repo includes the mnist dataset.

Accuracy

Average precision on test set: 99%