Image Classification
Transformers
TensorBoard
Safetensors
resnet
Generated from Trainer
Eval Results (legacy)
Instructions to use 47ag925/trash_classifier2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 47ag925/trash_classifier2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="47ag925/trash_classifier2") 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("47ag925/trash_classifier2") model = AutoModelForImageClassification.from_pretrained("47ag925/trash_classifier2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
c5a4414 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:69dc137bfeacc5aeecd05570d9df436380c378e6d8cf6b9747ba2730d61bb317
size 5841
|