Downloads · 30 days
0
chershilhyde/resnet18-tiny-imagenet
resnet18-tiny-imagenet is a machine learning model from chershilhyde. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is a ResNet-18 model fine-tuned on the Tiny ImageNet dataset.
Downloads · 30 days
0
Access
Public
Updated Nov 8, 2025
Repo size
45.2 MB
Likes
0
Public
Click a slice to open those files.
.bin45.2 MB · 100%
From the Hugging Face model README
This is a ResNet-18 model fine-tuned on the Tiny ImageNet dataset.
This model is a torchvision.models.resnet18 model with the final fully connected layer replaced to classify the 200 classes of the Tiny ImageNet dataset.
The model was trained on the Tiny ImageNet dataset, which consists of 200 classes, each with 500 training images and 50 validation images. All images are 64x64 colored images.
The model was trained for 10 epochs using the following hyperparameters:
The training was logged using Weights & Biases. You can find the training metrics here.
To use this model, you can load it using PyTorch:
import torch
from torchvision import models
# Initialize the model architecture
model = models.resnet18(weights=None)
num_ftrs = model.fc.in_features
model.fc = torch.nn.Linear(num_ftrs, 200)
# Load the fine-tuned weights from the Hub
# Note: You can also download the 'pytorch_model.bin' file manually
from huggingface_hub import hf_hub_download
model_weights = hf_hub_download(repo_id="chershilhyde/resnet18-tiny-imagenet", filename="pytorch_model.bin")
model.load_state_dict(torch.load(model_weights))
model.eval()