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