Image Classification
Transformers
TensorBoard
Safetensors
PyTorch
vit
huggingpics
Eval Results (legacy)
Instructions to use NonoBru/fruit-classifier-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NonoBru/fruit-classifier-1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NonoBru/fruit-classifier-1.0") 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/fruit-classifier-1.0") model = AutoModelForImageClassification.from_pretrained("NonoBru/fruit-classifier-1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from NonoBru/fruit-classifier-1.0: direct link, hf CLI and curl.
- Browser
- Download file 3.01 kB
-
https://huggingface.co/NonoBru/fruit-classifier-1.0/resolve/main/README.md
- Command line
-
hf download hf://NonoBru/fruit-classifier-1.0/README.md
-
curl -L -o README.md https://huggingface.co/NonoBru/fruit-classifier-1.0/resolve/main/README.md
3.01 kB
| tags: | |
| - image-classification | |
| - pytorch | |
| - huggingpics | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: fruit-classifier-1.0 | |
| results: | |
| - task: | |
| name: Image Classification | |
| type: image-classification | |
| metrics: | |
| - name: Accuracy | |
| type: accuracy | |
| value: 0.8994662165641785 | |
| # fruit-classifier-1.0 | |
| 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 | |
| #### apple | |
|  | |
| #### apricot | |
|  | |
| #### asparagus | |
|  | |
| #### avocado | |
|  | |
| #### banana | |
|  | |
| #### bell_pepper | |
|  | |
| #### blackberry | |
|  | |
| #### blueberry | |
|  | |
| #### broccoli | |
|  | |
| #### cabbage | |
|  | |
| #### cantaloupe | |
|  | |
| #### carrot | |
|  | |
| #### cauliflower | |
|  | |
| #### celery | |
|  | |
| #### cherry | |
|  | |
| #### coconut | |
|  | |
| #### corn | |
|  | |
| #### cranberry | |
|  | |
| #### cucumber | |
|  | |
| #### date | |
|  | |
| #### dragon_fruit | |
|  | |
| #### eggplant | |
|  | |
| #### fig | |
|  | |
| #### grape | |
|  | |
| #### grapefruit | |
|  | |
| #### guava | |
|  | |
| #### honeydew | |
|  | |
| #### kiwi | |
|  | |
| #### leek | |
|  | |
| #### lettuce | |
|  | |
| #### mango | |
|  | |
| #### nectarine | |
|  | |
| #### orange | |
|  | |
| #### papaya | |
|  | |
| #### passion_fruit | |
|  | |
| #### pea | |
|  | |
| #### peach | |
|  | |
| #### pear | |
|  | |
| #### pineapple | |
|  | |
| #### plum | |
|  | |
| #### pomegranate | |
|  | |
| #### potato | |
|  | |
| #### radish | |
|  | |
| #### raspberry | |
|  | |
| #### spinach | |
|  | |
| #### strawberry | |
|  | |
| #### sweet_potato | |
|  | |
| #### tomato | |
|  | |
| #### watermelon | |
|  | |
| #### zucchini | |
|  |