Downloads · 30 days
0
Sher1988/image-classifier-weights
image-classifier-weights is a machine learning model from Sher1988. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
This repository contains the trained weights for an image captioning system consisting of a CNN Encoder and an RNN Decoder, fine-tuned on the CIFAR-10 dataset.
Downloads · 30 days
0
Access
Public
Updated Mar 28, 2026
Repo size
130 MB
Likes
0
Public
Click a slice to open those files.
.pth130 MB · 100%
From the Hugging Face model README
This repository contains the trained weights for an image captioning system consisting of a CNN Encoder and an RNN Decoder, fine-tuned on the CIFAR-10 dataset.
encoder)decoder)You can load these weights directly using the huggingface_hub library in Python:
from huggingface_hub import hf_hub_download
import torch
# Download weights
encoder_path = hf_hub_download(repo_id="Sher1988/image-classifier-weights", filename="encoder")
decoder_path = hf_hub_download(repo_id="Sher1988/image-classifier-weights", filename="decoder")
# Load into your model classes
# encoder.load_state_dict(torch.load(encoder_path, map_location='cpu'))
# decoder.load_state_dict(torch.load(decoder_path, map_location='cpu'))