Understand the SpeciesNet v4.0.1a model architecture and workflow
mainSpeciesNet v4.0.1a is an ensemble model designed for camera trap analysis. It follows an "Always crop" workflow: a detector is run first to find objects, and the image is then cropped to the top detection bounding box before being passed to the species classifier.
Model Identifier: kaggle:google/speciesnet/pyTorch/v4.0.1a
Classifier Details
- Base Architecture: EfficientNet V2 M
- Inference Framework: PyTorch
- Input Requirements: 480x480px RGB images.
- Preprocessing: The input image must be cropped to the top detection bounding box and resized to 480x480px (note: this may change the original aspect ratio).
- Output: Logits, which are converted to label confidence scores via softmax.
- Label Scope: 2498 total labels, including 2066 species (including human), 430 higher taxa labels, and 2 non-animal labels (
blank,vehicle).
Detector Details
- Model: MegaDetector v5a
- Base Architecture: YOLOv5
- Input Requirements: Variable sized RGB images where dimensions are multiples of 64px.
- Preprocessing: Resize RGB image to 1280px on the longest edge, then pad dimensions to multiples of 64px while maintaining the original aspect ratio.
- Output: Labeled bounding boxes with confidence scores for 3 labels:
animal,human, andvehicle.