uoft-cs/cifar10
Viewer • Updated • 60k • 453k • 117
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