How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="ThatOrJohn/resnet-50-pineapple")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("ThatOrJohn/resnet-50-pineapple")
model = AutoModelForImageClassification.from_pretrained("ThatOrJohn/resnet-50-pineapple")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Image Classification

Validation Metrics

No validation metrics available

Downloads last month
3
Safetensors
Model size
23.6M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ThatOrJohn/resnet-50-pineapple

Finetuned
(480)
this model

Dataset used to train ThatOrJohn/resnet-50-pineapple