uoft-cs/cifar10
Viewer • Updated • 60k • 357k • 117
A PyTorch implementation of a DenseNet architecture 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 | 88.77% |
| Test Accuracy (DP) | 88.77% |
densenet_cifar10.pthmodel = DenseNet()
model.load_state_dict(
torch.load("densenet_cifar10.pth")
)
model.eval()
with torch.no_grad():
outputs = model(images)
_, predicted = torch.max(outputs, 1)
Ankit Bari