Downloads · 30 days
0
Mehriddin1997/EMNIST-Letters-CNN
EMNIST-Letters-CNN is a machine learning model from Mehriddin1997. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model classifies 28x28 grayscale images into Latin letters A–Z.
Downloads · 30 days
0
Access
Public
Updated Feb 23, 2026
Repo size
840 KB
Likes
0
Public
Click a slice to open those files.
.pt840 KB · 100%
From the Hugging Face model README
This model classifies 28x28 grayscale images into Latin letters A–Z.
import torch, string
from model import LetterCNN
letters = string.ascii_uppercase
m = LetterCNN()
m.load_state_dict(torch.load("letter_cnn_state_dict.pt", map_location="cpu"))
m.eval()
---
## 5) Repo’dagi fayldan localda ishlatish (download qilgandan keyin)
Siz repo’dan `letter_cnn_state_dict.pt` va `model.py` ni yuklab olasiz, keyin:
```python
import torch
from model import LetterCNN
m = LetterCNN()
m.load_state_dict(torch.load("letter_cnn_state_dict.pt", map_location="cpu"))
m.eval()
print("Model ready!")