Skip to content

A Convolutional Neural Network for EMNIST dataset

Notifications You must be signed in to change notification settings

AndraxDev/emnist-cnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MNIST-like datasets classifier

Convolutional neural network to recognize symbols using a MNIST-like datasets

Purpose

Recognize handwritten letters and digits

Accuracy

92%

Requirements

PyTorch, TorchVision, Numpy (1.23.1), matplotlib.pyplot

Requirements for datasets

28x28 grayscaled images

Tested datasets

Run

python3 cnn.py

Runtime options

# Comment or uncomment necessary functions
train(model, model_path)
test(model_path)
test_all(model_path)

Warning

Training NN or testing all images (function test_all()) may take very long time.

Output example

Screenshot_11

Screenshot_12