uoft-cs/cifar10
Viewer β’ Updated β’ 60k β’ 126k β’ 105
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'))