uoft-cs/cifar10
Viewer • Updated • 60k • 234k • 120
A 3-block CNN trained from scratch on CIFAR-10 using PyTorch.
plane, car, bird, cat, deer, dog, frog, horse, ship, truck
from transformers import pipeline
from PIL import Image
classifier = pipeline(
"image-classification",
model="MarkivDunhar/cifar-cnn"
)
result = classifier("your_image.jpg")
print(result)
# [{'label': 'dog', 'score': 0.91}]