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="NonoBru/mushroom-classifier")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("NonoBru/mushroom-classifier")
model = AutoModelForImageClassification.from_pretrained("NonoBru/mushroom-classifier", device_map="auto")
Quick Links

mushroom-classifier

Autogenerated by a tweeked version of HuggingPics🤗🖼️

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

Evaluation results