uoft-cs/cifar10
Viewer • Updated • 60k • 275k • 120
How to use Danung/model-cnn-cifar10-vgg19 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Danung/model-cnn-cifar10-vgg19")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Danung/model-cnn-cifar10-vgg19", device_map="auto")