Downloads · 30 days
12
0% of all-time downloads
aijadugar/cifar-10-resnet18
cifar-10-resnet18 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 ResNet-18 trained from scratch on the CIFAR-10 dataset.
Downloads · 30 days
12
0% of all-time downloads
All-time downloads
15.5K
Public
Repo size
44.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors44.8 MB · 100%
From the Hugging Face model README
A PyTorch implementation of ResNet-18 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 | 89.61% |
resnet18_cifar10.pthmodel = ResNet18()
model.load_state_dict(
torch.load("resnet18_cifar10.pth")
)
model.eval()
with torch.no_grad():
outputs = model(images)
_, predicted = torch.max(outputs, 1)
Ankit Bari