Views
No views yet
⚠️ DEPRECATED - Use v2 for Better AccuracyThis is version 1 of the German Bird Classifier with 87.69% accuracy.Please use german-bird-classifier-v2 instead:
- ✅ 99.71% accuracy (vs. 87.69% in v1)
- ✅ 42× fewer errors
- ✅ Perfect classification for 5 out of 8 species
This v1 model will remain available for compatibility but is no longer actively maintained.
google/efficientnet-b0 (8.5M parameters)| Species | Validation Accuracy | Samples |
|---|---|---|
| Blaumeise | 100.0% | 5 |
| Grünling | 100.0% | 5 |
| Haussperling | 100.0% | 5 |
| Kernbeißer | 100.0% | 5 |
| Kleiber | 100.0% | 5 |
| Kohlmeise | 100.0% | 5 |
| Rotkehlchen | 100.0% | 5 |
| Sumpfmeise | 100.0% | 5 |
| Overall | 100.0% | 40 |
1# Install the toolkit
2pip install vogel-model-trainer
3
4# Extract birds from video using this classifier
5vogel-trainer extract --folder ~/bird-data \
6 --species-model kamera-linux/german-bird-classifier \
7 --sample-rate 20 --skip-blurry --deduplicate \
8 video.mp41from transformers import AutoImageProcessor, AutoModelForImageClassification
2from PIL import Image
3import torch
4
5# Load model and processor
6model = AutoModelForImageClassification.from_pretrained("kamera-linux/german-bird-classifier")
7processor = AutoImageProcessor.from_pretrained("kamera-linux/german-bird-classifier")
8
9# Load and preprocess image
10image = Image.open("bird.jpg")
11inputs = processor(images=image, return_tensors="pt")
12
13# Predict
14with torch.no_grad():
15 outputs = model(**inputs)
16 logits = outputs.logits
17 predicted_class = logits.argmax(-1).item()
18
19# Get species name
20species = model.config.id2label[predicted_class]
21print(f"Predicted species: {species}")1@software{german_bird_classifier_2025,
2 author = {Kamera Linux},
3 title = {German Bird Classifier},
4 year = {2025},
5 url = {https://huggingface.co/kamera-linux/german-bird-classifier},
6 note = {Trained with vogel-model-trainer: https://github.com/kamera-linux/vogel-model-trainer}
7}