Model or dataset
microsoft/Biodiversity avatar
microsoft/Biodiversity

microsoft/Biodiversity Is a Hub Repo, Not a Toolkit

Microsoft AI for Good Lab — Biodiversity research hub. Open-source AI models, edge devices, and tools for biodiversity monitoring and conservation. Your source for MegaDetector, SPARROW, PytorchWildlife, Bioacoustics, and more.

1,073 stars297 forksPythonMIT

At a glance

What is it?
The Microsoft AI for Good Lab split its conservation AI work into one repository per project and kept this one as the index. Here is what the hub actually contains, what moved out of it, and why you will spend most of your time in a different repository.
Who is it for?
Adopt this repository as a pointer, not as a dependency. It is the right starting point if you need to know which Microsoft conservation model or device matches a camera-trap, acoustic, overhead or sonar workflow, and the wrong starting point if you want code you can install and run today.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 22 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

The problem is repository sprawl, and Microsoft solved it by adding a repository

The README describes the history plainly. The work started with MegaDetector, a camera-trap animal detection model, and PyTorch-Wildlife was built as a unified platform to host detection, classification and later work. Scope then expanded into bioacoustics, overhead animal detection and edge computing for remote field deployments. The README states that keeping everything inside a single repository was working against the team: code was harder to find, harder to maintain, harder to extend. The response was to break the work into focused repositories, one per project, and keep this repository as the hub that ties them together.

So the audience for microsoft/Biodiversity is narrow and specific. It is for an ecologist, a research engineer or a conservation technologist who has a monitoring problem and does not yet know which of the Microsoft models or devices fits it. The README frames the whole set as open-source AI for camera traps, bioacoustics and wildlife monitoring. If you already know you need MegaDetector, this page is a detour. If you have acoustic recordings and assumed MegaDetector was the answer, the project table is what corrects you.

What the hub actually contains: a table, two citations and a Discord link

The repository is a Python project by primary language, MIT licensed, with a documentation site at microsoft.github.io/Biodiversity. The substance of the README is a table of seven repositories. MegaDetector detects animals, people and vehicles in camera-trap imagery. MegaDetector-Acoustic handles audio classification and species identification from sound. MegaDetector-Classifier covers camera-trap species classification fine-tuning so classifiers can be adapted to your own datasets and geographic regions. MegaDetector-Overhead does point-based wildlife localization from aerial views. MegaDetector-Sonar processes sidescan sonar imagery. Pytorch-Wildlife is described as the collaborative deep learning framework and model zoo for conservation AI. SPARROW is a solar-powered acoustic and remote recording observation watch, an AI edge device for remote field deployments.

That is the entire mechanism. There is no shared runtime, no common CLI, no plugin interface connecting these projects. Each row is a link. The naming is the only thing that unifies them, and it is slightly misleading: MegaDetector-Acoustic and MegaDetector-Sonar are not MegaDetector with a different input layer, they are separate repositories that inherit the brand. Anyone expecting to install one package and switch modalities will be disappointed by the layout.

The README also asks for two citations depending on what you use: Hernandez et al. 2024 for the PyTorch-Wildlife framework or models accessed through it, and Beery, Morris, Yang 2019 for MegaDetector specifically. A citation.cff file is included for automated citation tools. For a hub repository, that citation split is the most operationally useful content after the table, because it tells you the projects have separate provenance and separate papers.

Getting started means leaving this repository

There is no install command for the hub itself in the supplied material, and that is consistent with what it is. The README points outward at every step. For the framework, the relevant project is microsoft/Pytorch-Wildlife, which has its own release line: pw_v1.3.0 tagged 2026-04-22, pw_v1.2.1 tagged 2025-04-17, and pw_v1.2.0 tagged 2025-01-23. Those tags use a pw_ prefix, which is the kind of detail that matters when you are pinning a version in a requirements file and discover the tag name does not match the package name.

The README also links a Hugging Face Space demo under ai-for-good-lab/pytorch-wildlife and a Google Colab notebook, both of which are the fastest way to see a model run without setting up a local environment. For documentation, the hub points to microsoft.github.io/Biodiversity, and MegaDetector has its own separate documentation site. Contribution instructions live at microsoft.github.io/Biodiversity/contribute, and there is a Discord invite for questions.

What you will not find in the supplied material is a version compatibility matrix, a statement about which Python versions are supported, or any note about whether the Pytorch-Wildlife releases are coordinated with MegaDetector releases. If you are building a pipeline that uses both, that coordination is something you will have to establish yourself by reading each repository.

The limitation is that a hub cannot keep its own promises

The README makes a claim about maintainability: one repository per project means code is concentrated, ownership is clear, and contributors know where to go. That is true for the Microsoft team. It is not automatically true for you. A hub repository has no mechanism to stay in sync with the repositories it lists. If MegaDetector-Overhead is renamed, deprecated or moved, this page is the last place that will reflect it, and the table is just markdown.

A second limitation is licence propagation. The badge and the repository metadata both say MIT. The README does not state the licence of the seven linked projects. The MIT grant here covers the hub content, and you should not read it as covering the models or the code in the other repositories. Before you ship anything built on MegaDetector or Pytorch-Wildlife, check the LICENSE file in that repository directly. This is not legal advice, just a note that the scope of an MIT badge on an index page is the index page.

A third issue is fit. If your monitoring problem is fish in a river, this hub will point you at sonar. If it is birdsong, it points you at acoustics. If it is a herd count from a drone, it points you at overhead imagery. If it is none of those, the table is a dead end, and the README offers no guidance on what to do next beyond the Discord channel.

Where a general vision stack differs, and when that matters

The obvious alternative for camera-trap work is a general-purpose detection stack such as a torchvision or Detectron2 model fine-tuned on your own labelled images, or a hosted vision API. The difference is not accuracy on a benchmark, it is what the pipeline assumes about your data. MegaDetector is described as a model for detecting animals, people and vehicles in camera-trap imagery, which means its class set is deliberately coarse and its input assumptions come from trap deployments: fixed cameras, triggered captures, long empty sequences. A general detector gives you a much wider label space and no opinion about empty frames, so you get to build the filtering logic yourself.

That trade-off runs the other way too. If your images are not from camera traps, the coarse class set is a liability rather than a feature, and MegaDetector-Overhead exists precisely because aerial views are a different problem with a different output format (point-based localization rather than boxes). The hub's own structure is the argument: modality-specific models, not one general model stretched across inputs. Pick the alternative when your modality is not represented in the table, and pick the table when it is.

Maintenance cost and what the release cadence tells you

The only cadence data in the supplied material is the Pytorch-Wildlife release line: pw_v1.2.0 in January 2025, pw_v1.2.1 in April 2025, and pw_v1.3.0 in April 2026. That is a gap of roughly a year between the second and third releases, which is worth knowing if you are planning to pin a version and rely on upstream fixes. The hub repository itself was last pushed 2026-08-25, which is later than the most recent release tag, so the index is being touched more often than the framework is being tagged.

Upgrade cost depends on which project you actually depend on. The hub has no upgrade path because there is nothing to upgrade. Pytorch-Wildlife has semantic version tags, so a minor bump is the unit of change you would track. The other repositories in the table have no release information in the supplied material at all, so you cannot estimate their churn from this page. If you are choosing between MegaDetector-Acoustic and MegaDetector-Sonar, the release history will not help you decide.

The citation requirement is a recurring cost that is easy to overlook. Hernandez et al. 2024 applies to any use of the PyTorch-Wildlife framework or models accessed through it, and Beery, Morris, Yang 2019 applies to MegaDetector specifically. If you publish results, plan for both, and note that the README asks you to cite the framework even when you only touched a model through it.

Editorial conclusion

Adopt this repository as a pointer, not as a dependency. It is the right starting point if you need to know which Microsoft conservation model or device matches a camera-trap, acoustic, overhead or sonar workflow, and the wrong starting point if you want code you can install and run today. Clone microsoft/Pytorch-Wildlife for the framework, microsoft/MegaDetector for the detector, or microsoft/SPARROW for the field device. Before committing to any of them, open the individual repository and confirm it is still active, then check whether the licence of that repository matches the MIT licence shown here, because this hub does not state the licence of the projects it links to.

Official sources

  1. License: MIT
  2. microsoft/Biodiversity on GitHub
  3. Project website
  4. README
  5. Releases
Community notes

Community notes