Downloads · 30 days
0
Tanishrajput/Inception-v1
Inception-v1 is a machine learning model from Tanishrajput. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains the Inception-v1 (GoogLeNet) model trained on the CIFAR-10 dataset using PyTorch. It achieves 91.21% test accuracy and is ready for inference or fine-tuning.
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2025
Repo size
41 MB
Likes
0
Public
Click a slice to open those files.
.pth41 MB · 100%
From the Hugging Face model README
This repository contains the Inception-v1 (GoogLeNet) model trained on the CIFAR-10 dataset using PyTorch.
It achieves 91.21% test accuracy and is ready for inference or fine-tuning.
I hope you find this model useful and easy to integrate into your projects.
airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truckFeel free to download and use the model in your own projects. Here's a simple example:
import torch
from googlenet_model import GoogLeNetCIFAR # Make sure this contains the model implementation
# Load the pretrained model
model = GoogLeNetCIFAR(num_classes=10)
model.load_state_dict(torch.load("Inception-v1.pth", map_location=torch.device('cpu')))
model.eval()
# Example inference
from torchvision import transforms
from PIL import Image
transform = transforms.Compose([
transforms.Resize((32, 32)),
transforms.ToTensor(),
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
])
image = Image.open("example_image.png")
input_tensor = transform(image).unsqueeze(0) # Add batch dimension
output, _, _ = model(input_tensor) # Main output and auxiliary classifiers
predicted_class = output.argmax(1).item()
print("Predicted Class:", predicted_class)
This model is released under the MIT License.