Predicts butterfly type given an image with about 96% accuracy.
See https://www.kaggle.com/code/dima806/100-butterfly-type-image-detection-vit for more details.
Classification report:
precision recall f1-score support
ADONIS 0.9348 0.8776 0.9053 49
AFRICAN GIANT SWALLOWTAIL 0.9800 1.0000 0.9899 49
AMERICAN SNOOT 0.9792 0.9400 0.9592 50
AN 88 1.0000 1.0000 1.0000 50
APPOLLO 0.9600 0.9796 0.9697 49
ARCIGERA FLOWER MOTH 0.9792 0.9592 0.9691 49
ATALA 1.0000 0.9592 0.9792 49
ATLAS MOTH 0.9057 0.9796 0.9412 49
BANDED ORANGE HELICONIAN 1.0000 1.0000 1.0000 49
BANDED PEACOCK 0.9792 0.9592 0.9691 49
BANDED TIGER MOTH 0.8936 0.8571 0.8750 49
BECKERS WHITE 0.9245 1.0000 0.9608 49
BIRD CHERRY ERMINE MOTH 1.0000 1.0000 1.0000 49
BLACK HAIRSTREAK 0.9583 0.9388 0.9485 49
BLUE MORPHO 0.9600 0.9796 0.9697 49
BLUE SPOTTED CROW 0.9792 0.9592 0.9691 49
BROOKES BIRDWING 1.0000 1.0000 1.0000 49
BROWN ARGUS 0.9074 0.9800 0.9423 50
BROWN SIPROETA 0.9800 1.0000 0.9899 49
CABBAGE WHITE 0.9800 0.9800 0.9800 50
CAIRNS BIRDWING 0.9804 1.0000 0.9901 50
CHALK HILL BLUE 0.8679 0.9200 0.8932 50
CHECQUERED SKIPPER 0.9796 0.9600 0.9697 50
CHESTNUT 0.9600 0.9796 0.9697 49
CINNABAR MOTH 1.0000 1.0000 1.0000 49
CLEARWING MOTH 0.8909 1.0000 0.9423 49
CLEOPATRA 0.9796 0.9796 0.9796 49
CLODIUS PARNASSIAN 0.9600 0.9600 0.9600 50
CLOUDED SULPHUR 0.8537 0.7143 0.7778 49
COMET MOTH 1.0000 0.9796 0.9897 49
COMMON BANDED AWL 0.9565 0.8980 0.9263 49
COMMON WOOD-NYMPH 0.9796 0.9796 0.9796 49
COPPER TAIL 0.9706 0.6735 0.7952 49
CRECENT 0.9796 0.9600 0.9697 50
CRIMSON PATCH 0.9804 1.0000 0.9901 50
DANAID EGGFLY 0.9792 0.9400 0.9592 50
EASTERN COMA 0.7458 0.8980 0.8148 49
EASTERN DAPPLE WHITE 0.8039 0.8367 0.8200 49
EASTERN PINE ELFIN 1.0000 0.9600 0.9796 50
ELBOWED PIERROT 1.0000 0.9600 0.9796 50
EMPEROR GUM MOTH 0.9388 0.9388 0.9388 49
GARDEN TIGER MOTH 0.8654 0.9184 0.8911 49
GIANT LEOPARD MOTH 1.0000 1.0000 1.0000 50
GLITTERING SAPPHIRE 1.0000 0.9796 0.9897 49
GOLD BANDED 0.9796 0.9796 0.9796 49
GREAT EGGFLY 0.8889 0.9796 0.9320 49
GREAT JAY 0.9375 0.9000 0.9184 50
GREEN CELLED CATTLEHEART 0.9796 0.9796 0.9796 49
GREEN HAIRSTREAK 1.0000 1.0000 1.0000 49
GREY HAIRSTREAK 0.9231 0.9796 0.9505 49
HERCULES MOTH 0.9167 0.8980 0.9072 49
HUMMING BIRD HAWK MOTH 1.0000 0.8571 0.9231 49
INDRA SWALLOW 1.0000 0.9592 0.9792 49
IO MOTH 1.0000 0.9388 0.9684 49
Iphiclus sister 1.0000 1.0000 1.0000 49
JULIA 1.0000 1.0000 1.0000 49
LARGE MARBLE 0.8723 0.8200 0.8454 50
LUNA MOTH 1.0000 0.9592 0.9792 49
MADAGASCAN SUNSET MOTH 1.0000 0.9796 0.9897 49
MALACHITE 1.0000 1.0000 1.0000 50
MANGROVE SKIPPER 0.9600 0.9796 0.9697 49
MESTRA 1.0000 0.9600 0.9796 50
METALMARK 0.9792 0.9592 0.9691 49
MILBERTS TORTOISESHELL 1.0000 0.9184 0.9574 49
MONARCH 0.9245 1.0000 0.9608 49
MOURNING CLOAK 1.0000 1.0000 1.0000 49
OLEANDER HAWK MOTH 1.0000 1.0000 1.0000 49
ORANGE OAKLEAF 0.9434 1.0000 0.9709 50
ORANGE TIP 0.9783 0.9184 0.9474 49
ORCHARD SWALLOW 1.0000 0.9796 0.9897 49
PAINTED LADY 0.9608 1.0000 0.9800 49
PAPER KITE 1.0000 0.9796 0.9897 49
PEACOCK 1.0000 1.0000 1.0000 49
PINE WHITE 0.9796 0.9796 0.9796 49
PIPEVINE SWALLOW 0.9074 0.9800 0.9423 50
POLYPHEMUS MOTH 0.8824 0.9184 0.9000 49
POPINJAY 1.0000 0.9796 0.9897 49
PURPLE HAIRSTREAK 0.9583 0.9388 0.9485 49
PURPLISH COPPER 0.8033 1.0000 0.8909 49
QUESTION MARK 0.8684 0.6735 0.7586 49
RED ADMIRAL 1.0000 0.9796 0.9897 49
RED CRACKER 0.9792 0.9592 0.9691 49
RED POSTMAN 0.9608 1.0000 0.9800 49
RED SPOTTED PURPLE 0.9800 1.0000 0.9899 49
ROSY MAPLE MOTH 0.9615 1.0000 0.9804 50
SCARCE SWALLOW 0.9412 0.9796 0.9600 49
SILVER SPOT SKIPPER 0.9074 1.0000 0.9515 49
SIXSPOT BURNET MOTH 1.0000 1.0000 1.0000 50
SLEEPY ORANGE 0.9057 0.9796 0.9412 49
SOOTYWING 0.9783 0.9184 0.9474 49
SOUTHERN DOGFACE 0.8148 0.8980 0.8544 49
STRAITED QUEEN 0.9796 0.9796 0.9796 49
TROPICAL LEAFWING 0.8889 0.9600 0.9231 50
TWO BARRED FLASHER 1.0000 0.9592 0.9792 49
ULYSES 1.0000 0.9592 0.9792 49
VICEROY 1.0000 0.9592 0.9792 49
WHITE LINED SPHINX MOTH 0.9615 1.0000 0.9804 50
WOOD SATYR 0.9412 0.9796 0.9600 49
YELLOW SWALLOW TAIL 0.9583 0.9388 0.9485 49
ZEBRA LONG WING 1.0000 0.9800 0.9899 50
accuracy 0.9561 4925
macro avg 0.9577 0.9561 0.9558 4925
weighted avg 0.9578 0.9561 0.9559 4925
- Downloads last month
- 8
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.
Model tree for dima806/100_butterfly_types_image_detection
Base model
google/vit-base-patch16-224-in21k