Image Classification
Transformers
TensorBoard
Safetensors
PyTorch
vit
huggingpics
Eval Results (legacy)
Instructions to use NonoBru/leaf-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NonoBru/leaf-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NonoBru/leaf-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/leaf-classifier") model = AutoModelForImageClassification.from_pretrained("NonoBru/leaf-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from NonoBru/leaf-classifier: direct link, hf CLI and curl.
- Browser
- Download file 7.85 kB
-
https://huggingface.co/NonoBru/leaf-classifier/resolve/main/README.md
- Command line
-
hf download hf://NonoBru/leaf-classifier/README.md
-
curl -L -o README.md https://huggingface.co/NonoBru/leaf-classifier/resolve/main/README.md
7.85 kB
| tags: | |
| - image-classification | |
| - pytorch | |
| - huggingpics | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: leaf-classifier | |
| results: | |
| - task: | |
| name: Image Classification | |
| type: image-classification | |
| metrics: | |
| - name: Accuracy | |
| type: accuracy | |
| value: 0.7116250991821289 | |
| # leaf-classifier | |
| Autogenerated by HuggingPics🤗🖼️ | |
| Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb). | |
| Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics). | |
| ## Example Images | |
| #### alder | |
|  | |
| #### anemone | |
|  | |
| #### apple | |
|  | |
| #### ash | |
|  | |
| #### asparagus | |
|  | |
| #### aspen | |
|  | |
| #### aster | |
|  | |
| #### avocado | |
|  | |
| #### azalea | |
|  | |
| #### banana | |
|  | |
| #### beech | |
|  | |
| #### beech_nut | |
|  | |
| #### bell_pepper | |
|  | |
| #### birch | |
|  | |
| #### black_poplar | |
|  | |
| #### blackberry | |
|  | |
| #### blackthorn | |
|  | |
| #### blueberry | |
|  | |
| #### bougainvillea | |
|  | |
| #### broccoli | |
|  | |
| #### cabbage | |
|  | |
| #### cactus | |
|  | |
| #### camellia | |
|  | |
| #### cantaloupe | |
|  | |
| #### carnation | |
|  | |
| #### carrot | |
|  | |
| #### cauliflower | |
|  | |
| #### cedar | |
|  | |
| #### celery | |
|  | |
| #### cherry | |
|  | |
| #### chestnut | |
|  | |
| #### chili_pepper | |
|  | |
| #### chrysanthemum | |
|  | |
| #### columbine | |
|  | |
| #### common_alder | |
|  | |
| #### common_ash | |
|  | |
| #### common_box | |
|  | |
| #### common_fig | |
|  | |
| #### common_holly | |
|  | |
| #### common_laurel | |
|  | |
| #### common_lime | |
|  | |
| #### common_myrtle | |
|  | |
| #### common_walnut | |
|  | |
| #### corn | |
|  | |
| #### cosmos | |
|  | |
| #### cranberry | |
|  | |
| #### cucumber | |
|  | |
| #### cyclamen | |
|  | |
| #### cypress | |
|  | |
| #### daffodil | |
|  | |
| #### dahlia | |
|  | |
| #### daisy | |
|  | |
| #### dogwood | |
|  | |
| #### eggplant | |
|  | |
| #### elderberry | |
|  | |
| #### elderflower | |
|  | |
| #### elm | |
|  | |
| #### european_beech | |
|  | |
| #### european_holly | |
|  | |
| #### european_hornbeam | |
|  | |
| #### european_larch | |
|  | |
| #### european_olive | |
|  | |
| #### european_pear | |
|  | |
| #### european_yew | |
|  | |
| #### field_maple | |
|  | |
| #### fig | |
|  | |
| #### fir | |
|  | |
| #### forsythia | |
|  | |
| #### foxglove | |
|  | |
| #### fuchsia | |
|  | |
| #### geranium | |
|  | |
| #### gerbera | |
|  | |
| #### grape | |
|  | |
| #### hawthorn | |
|  | |
| #### hazel | |
|  | |
| #### hazel_nut | |
|  | |
| #### heather | |
|  | |
| #### hibiscus | |
|  | |
| #### holly | |
|  | |
| #### holly_oak | |
|  | |
| #### hornbeam | |
|  | |
| #### horse_chestnut | |
|  | |
| #### hosta | |
|  | |
| #### hydrangea | |
|  | |
| #### iris | |
|  | |
| #### juniper | |
|  | |
| #### kiwi | |
|  | |
| #### lavender | |
|  | |
| #### leek | |
|  | |
| #### lettuce | |
|  | |
| #### lilac | |
|  | |
| #### lily | |
|  | |
| #### lime | |
|  | |
| #### magnolia | |
|  | |
| #### mango | |
|  | |
| #### maple | |
|  | |
| #### marigold | |
|  | |
| #### morning_glory | |
|  | |
| #### mountain_ash | |
|  | |
| #### narcissus | |
|  | |
| #### nasturtium | |
|  | |
| #### oak | |
|  | |
| #### orange | |
|  | |
| #### orchid | |
|  | |
| #### pansy | |
|  | |
| #### papaya | |
|  | |
| #### pea | |
|  | |
| #### peach | |
|  | |
| #### pear | |
|  | |
| #### peony | |
|  | |
| #### petunia | |
|  | |
| #### pine | |
|  | |
| #### pineapple | |
|  | |
| #### plane_tree | |
|  | |
| #### plum | |
|  | |
| #### pomegranate | |
|  | |
| #### poplar | |
|  | |
| #### potato | |
|  | |
| #### quince | |
|  | |
| #### radish | |
|  | |
| #### raspberry | |
|  | |
| #### rose | |
|  | |
| #### rowan | |
|  | |
| #### rudbeckia | |
|  | |
| #### silver_birch | |
|  | |
| #### sloe | |
|  | |
| #### snapdragon | |
|  | |
| #### spinach | |
|  | |
| #### spruce | |
|  | |
| #### strawberry | |
|  | |
| #### sunflower | |
|  | |
| #### sweet_chestnut | |
|  | |
| #### sweet_potato | |
|  | |
| #### sycamore | |
|  | |
| #### tansy | |
|  | |
| #### tomato | |
|  | |
| #### tulip | |
|  | |
| #### verbena | |
|  | |
| #### violet | |
|  | |
| #### watermelon | |
|  | |
| #### whitebeam | |
|  | |
| #### wild_apple | |
|  | |
| #### wild_cherry | |
|  | |
| #### wild_pear | |
|  | |
| #### willow | |
|  | |
| #### yew | |
|  | |
| #### zinnia | |
|  | |
| #### zucchini | |
|  |