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="kyvu/mushroom-classification")
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("kyvu/mushroom-classification")
model = AutoModelForImageClassification.from_pretrained("kyvu/mushroom-classification", device_map="auto")
Quick Links

Mushroom classification

The model will predict the mushroom image if it belongs to below species.

  • Agaricus
  • Amanita
  • Boletus
  • Cortinarius
  • Entoloma
  • Exidia
  • Hygrocybe
  • Inocybe
  • Lactarius
  • Russula
  • Suillus
Downloads last month
90
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support