Downloads · 30 days
9
0% of all-time downloads
aijadugar/cifar-10-mobilenet
cifar-10-mobilenet is a image classification model from aijadugar. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
A PyTorch implementation of MobileNetV2 trained from scratch on the CIFAR-10 dataset.
Downloads · 30 days
9
0% of all-time downloads
All-time downloads
14.1K
Public
Repo size
5.1 MB
Likes
1
Public
Click a slice to open those files.
.safetensors5.1 MB · 100%
From the Hugging Face model README
A PyTorch implementation of MobileNetV2 trained from scratch on the CIFAR-10 dataset.
| Label | Class |
|---|---|
| 0 | airplane |
| 1 | automobile |
| 2 | bird |
| 3 | cat |
| 4 | deer |
| 5 | dog |
| 6 | frog |
| 7 | horse |
| 8 | ship |
| 9 | truck |
| Metric | Value |
|---|---|
| Test Accuracy | 84.62% |
mobilenetv2_cifar10.pthmodel = MobileNetV2()
model.load_state_dict(
torch.load("mobilenetv2_cifar10.pth")
)
model.eval()
with torch.no_grad():
outputs = model(images)
_, predicted = torch.max(outputs, 1)
Ankit Bari