Downloads · 30 days
6
8% of all-time downloads
darjja/oxford-17-flowers-cnn
oxford-17-flowers-cnn is a image classification model from darjja. Use it when you need a label for an image. The card lists the license as apache-2.0.
Small custom CNN trained on the Oxford 17 Flowers dataset. Classifies RGB images into 17 flower categories.
Downloads · 30 days
6
8% of all-time downloads
All-time downloads
76
Public
Repo size
2.2 MB
Likes
0
Public
Click a slice to open those files.
.pth2.2 MB · 100%
From the Hugging Face model README
Small custom CNN trained on the Oxford 17 Flowers dataset. Classifies RGB images into 17 flower categories.
pip install torch torchvision huggingface_hub pillow
Download the script and run it on any image:
huggingface-cli download darjja/oxford-17-flowers-cnn predict.py --local-dir .
python predict.py your_flower.jpg
python predict.py your_flower.jpg --top 5
The script downloads weights, config, and model code from this repo automatically.
Bluebell, Buttercup, Coltsfoot, Cowslip, Crocus, Daffodil, Daisy, Dandelion, Fritillary, Iris, Lilyvalley, Pansy, Snowdrop, Sunflower, Tigerlily, Tulip, Windflower