Downloads · 30 days
0
Vidhansavaliya123/dlops-ass5-q2-resnet18-cifar10
dlops-ass5-q2-resnet18-cifar10 is a image classification model from Vidhansavaliya123. Use it when you need a label for an image. The card lists the license as mit.
Assignment: DLOps Assignment 5 - Q2 Author: Vidhan Savaliya (M25CSA031, IIT Jodhpur) Architecture: ResNet-18 (no pre-training) Dataset: CIFAR-10
Downloads · 30 days
0
Access
Public
Updated Apr 4, 2026
Repo size
44.8 MB
Likes
0
Public
Click a slice to open those files.
.pth44.8 MB · 100%
From the Hugging Face model README
Assignment: DLOps Assignment 5 - Q2 Author: Vidhan Savaliya (M25CSA031, IIT Jodhpur) Architecture: ResNet-18 (no pre-training) Dataset: CIFAR-10
| Parameter | Value |
|---|---|
| Epochs | 50 |
| Optimizer | SGD + Momentum |
| LR Schedule | Cosine Annealing |
| Batch Size | 128 |
| Metric | Value |
|---|---|
| Final Train Accuracy | 99.78% |
| Final Val Accuracy | 92.82% |
| Final Test Accuracy | 93.79% |
| Assignment Target | >= 72% PASSED |
| Epsilon | Test Accuracy |
|---|---|
| 0.00 | 93.79% |
| 0.01 | 75.28% |
| 0.03 | 49.34% |
| 0.10 | 32.10% |
| 0.30 | 21.13% |
import torch
import torchvision.models as models
model = models.resnet18(pretrained=False, num_classes=10)
state_dict = torch.load('Q2_resnet18_clean.pth', map_location='cpu')
model.load_state_dict(state_dict)
model.eval()