Biodiversity

microsoftMIT活跃维护

微软 AI for Good 实验室开源的生物多样性监测工具集,提供相机陷阱动物检测、声学识别等模型与边缘设备方案,帮生态保护者用 AI 自动处理野外影像和音频数据。

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.

pw_v1.3.0发布于 2026-04-22 03:55 UTC1,089star +1 / 7 天298fork同步于 2026-11-10 11:50 UTC

怎么上手

由 README 提炼,执行前请确认
README 未说明
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

微软 AI for Good 的生物多样性 AI 项目总入口,帮你找到相机陷阱、声学与边缘设备对应的具体仓库

微软 AI for Good 实验室开源的生物多样性监测工具集,提供相机陷阱动物检测、声学识别等模型与边缘设备方案,帮生态保护者用 AI 自动处理野外影像和音频数据。

核心能力

  • 汇总 MegaDetector、PyTorch-Wildlife 等子项目并给出各自仓库链接
  • 覆盖相机陷阱动物检测、物种分类与生物声学分析
  • 包含俯视航拍与侧扫声呐的野生动物检测项目
  • 提供 SPARROW 太阳能声学边缘设备用于野外部署
  • 给出引用规范与 citation.cff 便于学术引用

容易踩的坑

本仓库只是索引,实际代码和安装方式需到各子项目仓库查看;PyTorch-Wildlife 已迁出本仓库,需访问 microsoft/Pytorch-Wildlife

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本pw_v1.3.0
  1. pw_v1.3.0Pytorch-Wildlife v1.3.0最新正式版2026-04-22 · 2026-04-22 03:55 UTC

    What's new

    Sparrow Studio beta

    A graphical frontend for data management, inference, analysis, and annotation in one UI. Signed Windows MSI available directly from Zenodo: SPARROW Studio Installer. Mac and Linux builds are in progress.

    Bioacoustics module

    A dedicated PW_Bioacoustics/ module with CLI scripts for dataset preparation, training, and inference, plus a pre-trained bird classifier MD_AudioBirds_V1 (ONNX). See the bioacoustics overview and the end-to-end demo.

    MegaDetector-Overhead (formerly OWL)

    A generalized, point-based detection model for overhead imagery. Two variants released — OWL-T and OWL-C. Publication on the way. Demo: image_detection_demo_owl.ipynb.

    PW-Engine preview — the future of PyTorch-Wildlife

    A Rust-based, model-agnostic inference core that will sit under both the Python API and Sparrow Studio. Four consumption surfaces: HTTP REST, a single-binary CLI, Python bindings, and a native C library for desktop integration. All four are feature-complete today; a data-management layer and MLOps functionality are next. Read the PW-Engine Overview.


    Full announcement: https://github.com/microsoft/Biodiversity

  2. pw_v1.2.1Pytorch-Wildlife v1.2.12025-04-17 · 2025-04-17 19:38 UTC
    查看更新说明

    What's New?

    Deepfaune in Our Model Zoo!!

    • We are excited to announce the release of the Deepfaune models—both the detector and classifier—in PyTorch-Wildlife, adding to our growing model zoo. A huge thank you to the Deepfaune team for your support! Deepfaune is one of the most comprehensive models focused on the European ecosystem for both detection and classification. It serves as a great complement to MegaDetector, which has primarily been trained on datasets from North America, South America, and Africa. The Deepfaune detector is also our first third-party camera trap detection model integrated into PyTorch-Wildlife!
    • To use the model, you just need to load them as any other Pytorch-Wildife models:
    detection_model = pw_detection.DeepfauneDetector(device=DEVICE)
    classification_model = pw_classification.DeepfauneClassifier(device=DEVICE)
    
    • You can also use the detection_classification_pipeline_demo.py script in the demo folder to test the whole detection + classification pipeline.
    • Please also take a look at the original Deepfaune website and give them a star!

    Deepfaune-New-England in Our Model Zoo Too!!

    • Besides the original Deepfaune mode, there is another fine-tuned Deepfaune model developed by USGS for the Northeastern NA area called Deepfaune-New-England (DFNE). It can also be loaded with classification_model = pw_classification.DFNE(device=DEVICE)
    • Please take a look at the orignal DFNE repo and give them a star!

    SpeciesNet is available in Pytorch-Wildlife for testing!

    • We have added SpeciesNet into our model zoo, which is compatible with all detection models provided by Pytorch-Wildlife. Please refer to this document for more details!
  3. pw_v1.2.0Pytorch-Wildlife v1.2.02025-01-23 · 2025-01-23 21:08 UTC
    查看更新说明

    What's New

    • In this version of Pytorch-Wildlife, we are happy to release our detection fine-tuning module, with which users can fine-tune their own detection model from any released pre-trained MegaDetectorV6 models. Besides, this module also has functionalities that help users to prepare their datasets for the fine-tuning, just as our classification fine-tuning modules. For more details, please check the readme. Currently the fine-tuning is based on Ultralytics with AGPL. We will release MIT versions in the future.

    • We have also released additional MegaDetectorV6 models based on Yolo-v10 and RtDetr. We have skipped Yolo-v11 models because of limited performance and architectural gains. In the following figure we can see the Parameter to Performance metrics of our released models. Users can choose according to specific project needs. All of the MegaDetectorV6 models have at least 50% less parameters than MegaDetectorV5 and still have better animal detection performance. Our smallest released model is MegaDetectorV6-yolov10-c, which only has 2% of the parameter size of MegaDetectorV5 but still has 4% better animal detection recall.

    image

    • In terms of the MIT and Apache versions, most of them have also finished training but are waiting for internal review before they can be released.

    • We have also updated our AI4G-Amazon model with bigger datasets and it has a better performance compared to previous iterations. Please feel free to test it or fine-tune on it.

    • We will also make a new roadmap for 2025 in the next couple of updates.

  4. pw_v1.1.0Pytorch-Wildlife v1.1.02024-11-08 · 2024-11-08 19:23 UTC
    查看更新说明

    🎉🎉🎉 Pytorch-Wildlife Version 1.1.0

    MegaDetectorV6 is finally out

    After a few months of public beta testing, we are finally ready to officially release our 6th version of MegaDetector, MegaDetectorV6! In the next generation of MegaDetector, we are focusing on computational efficiency, performance, mordernizing of model architectures, and licensing. We have trained multiple new models using different model architectures, including Yolo-v9, Yolo-v11, and RT-Detr for maximum user flexibility. We have a rolling release schedule for different versions of MegaDetectorV6, and in the first step, we are releasing the compact version of MegaDetectorV6 with Yolo-v9 (MDv6-ultralytics-yolov9-compact, MDv6-c in short). From now on, we encourage our users to use MegaDetectorV6 as their default animal detection model.

    This MDv6-c model is optimized for performance and low-budget devices. It has only one-sixth (SMALLER) of the parameters of the previous MegaDetectorV5 and exhibits 12% higher recall (BETTER) on animal detection in our validation datasets. In other words, MDv6-c has significantly fewer false negatives when detecting animals, making it a more robust animal detection model than MegaDetectorV5. Furthermore, one of our testers reported that the speed of MDv6-c is at least 5 times FASTER than MegaDetectorV5 on their datasets.

    ModelsParametersPrecisionRecall
    MegaDetectorV5121M0.960.73
    MegaDetectroV6-c22M0.920.85

    Learn how to use MegaDetectorV6 in our image demo and video demo.

    HerdNet in Pytorch-Wildlife

    We have incorporated a point-based overhead animal detection model into our model zoo called HerdNet (Delplanque et al. 2022). Two model weights are incorporated in this release, HerdNet-general (their default weights) and HerdNet-ennedi (their model trained on Ennedi 2019 datasets). More details can be found here and in their original repo. This is the first third-party model in Pytorch-Wildlife and the foundation of our expansion to overhead/aerial animal detection and classification. Please see our HerdNet demo on how to use it!

    Customed Weights

    You can now load custom weights you fine-tuned on your own datasets using the finetuning module directly in the Pytorch-Wildlife pipeline! Please see the demo on how to do it. You can also load it in our Gradio app!

    Folder Separation

    You can now automatically separate your image detections into folders based on detection results! Please see our folder separation demo on how to do it. You can also test it in our Gradio demo!

    Simplified Batch Detection!

    We have also simplified the batch detection pipeline. Now we do not need to define pytorch datasets and dataloaders specifically.

    Previous:

    tgt_folder_path = os.path.join(".","demo_data","imgs")
    
    dataset = pw_data.DetectionImageFolder(
        tgt_folder_path,
        transform=pw_trans.MegaDetector_v5_Transform(target_size=detection_model.IMAGE_SIZE,
                                                     stride=detection_model.STRIDE),
        extension='JPG' 
    
    loader = DataLoader(dataset, batch_si
    
  5. pw_v1.0.2.4Pytorch-Wildlife v1.0.2.42024-03-25 · 2024-03-25 05:38 UTC
    查看更新说明

    Hello everyone! We have just updated Pytorch-Wildlife to version 1.0.2.4. This is a small update but fixes some bugs related to result outputs reported in issue https://github.com/microsoft/CameraTraps/issues/428 . Besides the bug fixes, we have also added a HuggingFace demo and have two google colab demos Image_detection_demo and Video_detection_demo. We also have fully revamped our README for better visual and created a discord server for our community. Please join us! Thank you so much!

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    A colorful banner illustrating various species of animals and plants in a natural environment, symbolizing biodiversity and the use of AI for conservation purposes.

    Microsoft Biodiversity

    Open-source AI for biodiversity monitoring and conservation.
    Microsoft AI for Good Lab — camera-trap detection, bioacoustic analysis, species classification, field deployment.

    📣 Announcements

    What we've been up to

    Our journey started with MegaDetector — a camera-trap animal detection model that became a widely adopted tool in the conservation community. Building on that foundation, we created PyTorch-Wildlife as a unified platform to host all of our AI for biodiversity work, bringing together detection, classification, and eventually much more.

    Over time, our scope grew well beyond camera-trap imagery. We now have active work in bioacoustics, overhead animal detection, and edge computing for remote field deployments. As the ecosystem expanded, it became clear that keeping everything inside a single repository was working against us. Code was harder to find, harder to maintain, and harder to extend.

    So we made a deliberate decision: break the work into focused, dedicated repositories — one per project — where the code in each repo is concentrated, the ownership is clear, and future contributors know exactly where to go. This repository is the hub that ties them together. PyTorch-Wildlife now lives at microsoft/Pytorch-Wildlife, MegaDetector at microsoft/MegaDetector, and everything else is linked in the table below.

    Previous versions:

    Projects

    RepoWhat it is
    microsoft/MegaDetectorAI model for detecting animals, people, and vehicles in camera-trap imagery — where it all started (documentation)
    microsoft/MegaDetector-AcousticBioacoustic AI for biodiversity monitoring — audio classification and species identification from sound
    microsoft/MegaDetector-ClassifierCamera-trap species classification fine-tuning — adapt classifiers to your own datasets and geographic regions
    microsoft/MegaDetector-OverheadOverhead imagery detection — point-based wildlife localization from aerial views
    microsoft/MegaDetector-SonarSonar-based wildlife detection — processing and feature detection in sidescan sonar imagery
    microsoft/Pytorch-WildlifeThe collaborative deep learning framework and model zoo for conservation AI
    microsoft/SPARROWSolar-Powered Acoustic and Remote Recording Observation Watch — AI edge device for remote field deployments

    Cite us

    When citing work that uses any of the repositories under this umbrella, please cite:

    • Hernandez et al. 2024 — Pytorch-Wildlife: A Collaborative Deep Learning Framework for Conservation — for any use of the PyTorch-Wildlife framework or models accessed through it
    • Beery, Morris, Yang 2019 — Efficient Pipeline for Camera Trap Image Review — for any use of MegaDetector specifically

    A citation.cff file is included in this repository for automated citation tools.

    Contributing

    We welcome community contributions. See our Contribution Guidelines for how to participate.

    Community

    Have questions or want to connect with the team? Join us on Discord: Discord

    A list of organizations using MegaDetector across global conservation work — six years of partnerships, from national parks to research universities to NGOs — is maintained on the microsoft/MegaDetector repository.

    [!IMPORTANT] If you would like to be added to this list or have any questions regarding MegaDetector and PyTorch-Wildlife, please email us or join us in our Discord channel:

    About

    Maintained by Microsoft AI for Good Lab.