Repository navigation
Code release accompanying CounterFactual Retrieval for Evidence-Aware Individual Animal Identification, accepted at WACV 2027.
CFR provides metrics and an evaluation framework for evidence-aware individual animal re-identification. It compares retrieval performance across full, foreground, background, and silhouette views to assess the evidence used for identification, reporting CFR and SSI scores alongside retrieval recall.
This release includes:
- CFR and SSI metric computation and retrieval evaluation.
- Evaluation with MIEW-ID and MegaDescriptor across the four image views.
- Robustness evaluation under image corruptions and mask perturbations.
- Experiment configurations and documentation of data preparation and evaluation protocols.
- Supporting SAM3 mask-generation tools and versioned Hugging Face mask downloads.
For the original evaluation inputs, select --release paper when downloading masks; the standardized collection uses the updated extraction procedure. The original code and artifacts remain available under paper-code-v1.
See the README for installation and usage. Source images, matching identity/crop metadata, and model checkpoints are obtained separately.
Software version: 0.3.0
Code license: MIT