Instructions to use ph0masta/bug_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ph0masta/bug_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ph0masta/bug_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("ph0masta/bug_classifier") model = AutoModelForImageClassification.from_pretrained("ph0masta/bug_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ph0masta/bug_classifier: direct link, hf CLI and curl.
- Browser
- Download file 10.8 kB
-
https://huggingface.co/ph0masta/bug_classifier/resolve/main/README.md
- Command line
-
hf download hf://ph0masta/bug_classifier/README.md
-
curl -L -o README.md https://huggingface.co/ph0masta/bug_classifier/resolve/main/README.md
10.8 kB
| tags: | |
| - image-classification | |
| - pytorch | |
| - huggingpics | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: bug_classifier | |
| results: | |
| - task: | |
| name: Image Classification | |
| type: image-classification | |
| metrics: | |
| - name: Accuracy | |
| type: accuracy | |
| value: 0.7339722514152527 | |
| # bug_classifier | |
| Classifier trained on images of North American insects (adult form) and spiders (from creative commons). | |
| Labels are genera names. | |
| ## Example Images | |
| #### Acrolophus | |
|  | |
| #### Acroneuria | |
|  | |
| #### Agelenopsis | |
|  | |
| #### Agonum | |
|  | |
| #### Allograpta | |
|  | |
| #### Amaurobius | |
|  | |
| #### Ammopelmatus | |
|  | |
| #### Anabrus | |
|  | |
| #### Anasaitis | |
|  | |
| #### Andrena | |
|  | |
| #### Anthidiellum | |
|  | |
| #### Anthidium | |
|  | |
| #### Anthomyia | |
|  | |
| #### Antrodiaetus | |
|  | |
| #### Aphaenogaster | |
|  | |
| #### Aphonopelma | |
|  | |
| #### Aptostichus | |
|  | |
| #### Araneus | |
|  | |
| #### Archilestes | |
|  | |
| #### Argia | |
|  | |
| #### Argiope | |
|  | |
| #### Ashmeadiella | |
|  | |
| #### Attinella | |
|  | |
| #### Bassaniana | |
|  | |
| #### Berosus | |
|  | |
| #### Blera | |
|  | |
| #### Bombus | |
|  | |
| #### Bombylius | |
|  | |
| #### Calopteryx | |
|  | |
| #### Camponotus | |
|  | |
| #### Cerotoma | |
|  | |
| #### Chalcosyrphus | |
|  | |
| #### Chariessa | |
|  | |
| #### Cheilosia | |
|  | |
| #### Chelostoma | |
|  | |
| #### Chironomus | |
|  | |
| #### Chrysotoxum | |
|  | |
| #### Cicindela | |
|  | |
| #### Clubiona | |
|  | |
| #### Cochliomyia | |
|  | |
| #### Coelioxys | |
|  | |
| #### Colletes | |
|  | |
| #### Colonus | |
|  | |
| #### Copestylum | |
|  | |
| #### Cordulegaster | |
|  | |
| #### Crematogaster | |
|  | |
| #### Criorhina | |
|  | |
| #### Dasymutilla | |
|  | |
| #### Dasysyrphus | |
|  | |
| #### Delphinia | |
|  | |
| #### Dianthidium | |
|  | |
| #### Dictyna | |
|  | |
| #### Didea | |
|  | |
| #### Dioprosopa | |
|  | |
| #### Dolichovespula | |
|  | |
| #### Dorymyrmex | |
|  | |
| #### Drosophila | |
|  | |
| #### Dysdercus | |
|  | |
| #### Enallagma | |
|  | |
| #### Epilachna | |
|  | |
| #### Epistrophe | |
|  | |
| #### Epitheca | |
|  | |
| #### Eristalinus | |
|  | |
| #### Eristalis | |
|  | |
| #### Erythemis | |
|  | |
| #### Eumerus | |
|  | |
| #### Eupeodes | |
|  | |
| #### Euryopis | |
|  | |
| #### Euxesta | |
|  | |
| #### Ferdinandea | |
|  | |
| #### Formica | |
|  | |
| #### Geolycosa | |
|  | |
| #### Gomphurus | |
|  | |
| #### Gonatista | |
|  | |
| #### Gryllotalpa | |
|  | |
| #### Gryllus | |
|  | |
| #### Habronattus | |
|  | |
| #### Habropoda | |
|  | |
| #### Halictus | |
|  | |
| #### Helophilus | |
|  | |
| #### Hemipepsis | |
|  | |
| #### Heriades | |
|  | |
| #### Hexagenia | |
|  | |
| #### Hogna | |
|  | |
| #### Hoplitis | |
|  | |
| #### Hylogomphus | |
|  | |
| #### Kukulcania | |
|  | |
| #### Ladona | |
|  | |
| #### Lasioglossum | |
|  | |
| #### Lasius | |
|  | |
| #### Latrodectus | |
|  | |
| #### Leptinotarsa | |
|  | |
| #### Lethocerus | |
|  | |
| #### Leucozona | |
|  | |
| #### Libellula | |
|  | |
| #### Limonia | |
|  | |
| #### Litaneutria | |
|  | |
| #### Lithurgus | |
|  | |
| #### Loxosceles | |
|  | |
| #### Lytta | |
|  | |
| #### Macromia | |
|  | |
| #### Macropis | |
|  | |
| #### Magicicada | |
|  | |
| #### Mallota | |
|  | |
| #### Mantis | |
|  | |
| #### Marpissa | |
|  | |
| #### Megachile | |
|  | |
| #### Megacyllene | |
|  | |
| #### Melangyna | |
|  | |
| #### Melanoplus | |
|  | |
| #### Melanostoma | |
|  | |
| #### Meliscaeva | |
|  | |
| #### Merodon | |
|  | |
| #### Meromacrus | |
|  | |
| #### Metacyrba | |
|  | |
| #### Miagrammopes | |
|  | |
| #### Milesia | |
|  | |
| #### Mischocyttarus | |
|  | |
| #### Monomorium | |
|  | |
| #### Myrmecocystus | |
|  | |
| #### Myrmica | |
|  | |
| #### Nehalennia | |
|  | |
| #### Neivamyrmex | |
|  | |
| #### Neoascia | |
|  | |
| #### Neoscona | |
|  | |
| #### Neotibicen | |
|  | |
| #### Nomia | |
|  | |
| #### Novomessor | |
|  | |
| #### Ocyptamus | |
|  | |
| #### Omorgus | |
|  | |
| #### Ophiogomphus | |
|  | |
| #### Ornidia | |
|  | |
| #### Orthonevra | |
|  | |
| #### Osmia | |
|  | |
| #### Ozyptila | |
|  | |
| #### Palpada | |
|  | |
| #### Paragus | |
|  | |
| #### Parasyrphus | |
|  | |
| #### Parcoblatta | |
|  | |
| #### Pardosa | |
|  | |
| #### Parhelophilus | |
|  | |
| #### Passalus | |
|  | |
| #### Pellenes | |
|  | |
| #### Perithemis | |
|  | |
| #### Phanogomphus | |
|  | |
| #### Pheidole | |
|  | |
| #### Phidippus | |
|  | |
| #### Photuris | |
|  | |
| #### Plathemis | |
|  | |
| #### Platycheirus | |
|  | |
| #### Pogonomyrmex | |
|  | |
| #### Progomphus | |
|  | |
| #### Pseudomyrmex | |
|  | |
| #### Pseudovates | |
|  | |
| #### Rabidosa | |
|  | |
| #### Rhagoletis | |
|  | |
| #### Rhingia | |
|  | |
| #### Rhionaeschna | |
|  | |
| #### Rhodanthidium | |
|  | |
| #### Salticus | |
|  | |
| #### Sassacus | |
|  | |
| #### Scaeva | |
|  | |
| #### Schizocosa | |
|  | |
| #### Sericomyia | |
|  | |
| #### Somatochlora | |
|  | |
| #### Sosippus | |
|  | |
| #### Sphaerophoria | |
|  | |
| #### Sphegina | |
|  | |
| #### Sphodros | |
|  | |
| #### Spilomyia | |
|  | |
| #### Stagmomantis | |
|  | |
| #### Stylurus | |
|  | |
| #### Sympetrum | |
|  | |
| #### Syritta | |
|  | |
| #### Syrphus | |
|  | |
| #### Tachysphex | |
|  | |
| #### Tapinoma | |
|  | |
| #### Temnostoma | |
|  | |
| #### Temnothorax | |
|  | |
| #### Theridion | |
|  | |
| #### Thesprotia | |
|  | |
| #### Tigrosa | |
|  | |
| #### Titiotus | |
|  | |
| #### Toxomerus | |
|  | |
| #### Trachymyrmex | |
|  | |
| #### Trimerotropis | |
|  | |
| #### Tropidia | |
|  | |
| #### Tutelina | |
|  | |
| #### Ummidia | |
|  | |
| #### Volucella | |
|  | |
| #### Xenox | |
|  | |
| #### Xylocopa | |
|  | |
| #### Xylota | |
|  | |
| #### Xysticus | |
|  | |
| #### Zootermopsis | |
|  | |
| #### Zoropsis | |
|  | |
| #### Zygoballus | |
|  |