Addax-Data-Science commited on
Commit
e5b48cb
·
verified ·
1 Parent(s): 9a1e8f2

Upload inference.py

Browse files
Files changed (1) hide show
  1. inference.py +17 -16
inference.py CHANGED
@@ -1,20 +1,21 @@
1
  """
2
- TAS-BB-v1 MEWC-Keras Classification Model - Custom Inference Script
3
-
4
- This script provides model-specific inference code for the Tasmania
5
- species classifier (96 classes). It follows the AddaxAI-WebUI interface contract
6
- for custom classification models.
7
-
8
- Model: Tasmania MEWC Ensemble (tas_ens_mewc.keras)
9
- Framework: Keras 3 with JAX backend (TensorFlow compatible)
10
- Classes: 96 classes (Tasmanian terrestrial mammals and birds)
11
- Training data: 2.5+ million images
12
-
13
- MEWC - Mega Efficient Wildlife Classifier - University of Tasmania
14
- Original source: streamlit-AddaxAI/classification/model_types/mewc-keras/classify_detections.py
15
- Reference: https://github.com/zaandahl/mewc
16
- Adapted by: Claude Code on 2026-01-11
17
- Updated: 2026-01-13 - Migrated to class-based interface
 
18
  """
19
 
20
  from __future__ import annotations
 
1
  """
2
+ Inference script for TAS-BB-v1 (Tasmania MEWC Species Classifier)
3
+
4
+ MEWC (Mega Efficient Wildlife Classifier) for Tasmania trained on 2.5 million labelled
5
+ images from 96 classes. Includes all non-volant terrestrial mammals (native and introduced)
6
+ and 50+ commonly observed bird species. Overall accuracy and F1 scores exceed 99%.
7
+
8
+ Model: Tasmania MEWC Ensemble
9
+ Input: 224x224 RGB images
10
+ Framework: Keras 3 with JAX backend (EfficientNet v2 Small architecture)
11
+ Classes: 96 Tasmanian terrestrial mammals and birds
12
+ Developer: Barry Brook (University of Tasmania)
13
+ Citation: https://ecoevorxiv.org/repository/view/6405/
14
+ License: CC BY 4.0
15
+ Info: https://github.com/zaandahl/mewc
16
+
17
+ Author: Peter van Lunteren
18
+ Created: 2026-01-14
19
  """
20
 
21
  from __future__ import annotations