πΎ Animal Breed Classifier (ResNet18 - Animals10)
This model is a fine-tuned ResNet18 trained on the Animals-10 dataset using PyTorch Lightning. It classifies images into one of 10 animal categories.
π§ Model Details
- Architecture: ResNet18
- Framework: PyTorch Lightning
- Training dataset: Animals-10
- Input size: 224x224 RGB
- Classes: ['butterfly', 'cat', 'chicken', 'cow', 'dog', 'elephant', 'horse', 'sheep', 'spider', 'squirrel']
π Performance
Metric | Value |
---|---|
Accuracy | 95% |
Macro F1 | 94% |
Weighted F1 | 95% |
For a detailed comparison with zero-shot CLIP, see the GitHub repo.
π Usage
from models.lightning_model import Classifier
model = Classifier.load_from_checkpoint(
'https://huggingface.co/MichaelMM2000/animals10-resnet/resolve/main/resnet_animals10.ckpt',
num_classes=10
)
π§ͺ Dataset
The Animals-10 dataset consists of over 28,000 images across 10 animal categories.
π License
This model is released under the MIT License.
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
π
Ask for provider support