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="OttoYu/Image-place")
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("OttoYu/Image-place")
model = AutoModelForImageClassification.from_pretrained("OttoYu/Image-place")
Quick Links

Validation Metrics

  • Loss: 0.416
  • Accuracy: 0.880
  • Macro F1: 0.851
  • Micro F1: 0.880
  • Weighted F1: 0.866
  • Macro Precision: 0.917
  • Micro Precision: 0.880
  • Weighted Precision: 0.913
  • Macro Recall: 0.857
  • Micro Recall: 0.880
  • Weighted Recall: 0.880
Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using OttoYu/Image-place 1