Instructions to use Plaban81/vegetable-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Plaban81/vegetable-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Plaban81/vegetable-classifier") 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("Plaban81/vegetable-classifier") model = AutoModelForImageClassification.from_pretrained("Plaban81/vegetable-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
0180057 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c4a7f8adfabb6e0a3f408b3112d59bfe3c3318cb711c0b379dfe573916303adc
size 343273393
|