Recent Releases of BatDetect2

BatDetect2 - v1.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/macaodha/batdetect2/compare/v1.2.0...v1.3.0

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 months ago

BatDetect2 - v1.2.0

What's Changed

Full Changelog: https://github.com/macaodha/batdetect2/compare/v1.1.1...v1.2.0

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago 4 months ago

BatDetect2 - v1.1.1

What's Changed

Full Changelog: https://github.com/macaodha/batdetect2/compare/v1.1.0...v1.1.1

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago 8 months ago

BatDetect2 - v1.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/macaodha/batdetect2/compare/v1.0.8...v1.1.0

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago 8 months ago

BatDetect2 - v1.0.8

Release Notes

This patch release focuses on maintenance, addressing compatibility. Key updates include:

  1. Package Dependency Compatibility: The minimum version requirements for package dependencies have been adjusted. batdetect2 is now compatible with PyTorch 2.

  2. Google Colab Compatibility: batdetect2 can now run in Google Colab without the necessity of installing custom versions of machine learning packages. As of 30 Jan 2024.

  3. Extended Python 3.11 Support: We've expanded our support to include Python 3.11.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago over 1 year ago

BatDetect2 - v1.0.7

Release Notes

This patch addresses Issue #22, where batdetect2 was inadvertently outputting detections above the Nyquist limit. We appreciate @kdarras for bringing this to our attention.

To rectify the issue, a straightforward cleaning step has been incorporated to eliminate detections surpassing the Nyquist limit.

Special thanks again to @kdarras for graciously providing one of his recordings for testing the modification. The recording has been placed in the tests/data folder (file). Additionally, a new test/test_detections.py file has been created to implement tests ensuring that batdetect's outputted detections are free from any significant errors.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago over 1 year ago

BatDetect2 - v1.0.6

Release v1.0.6

Spectrogram Feature Computation Issue Fix and Code Refactoring

In this release, we've addressed a critical issue related to the computation of spectrogram features, marked by the generation of erroneous csv output containing -1 values. This problem stemmed from an unanticipated shape discrepancy within the spectrogram, leading to improper feature extraction.

What's New

  • Bug Fix: The spectrogram feature computation issue has been resolved. The csv output, which was previously populated with -1 values, now accurately reflects the calculated spectrogram features.
  • Code Refactoring: To improve maintainability and extensibility, the feature extraction functions have undergone a thorough refactoring. This modularization enhances the organization of the codebase and facilitates more efficient testing and future enhancements.
  • Unit Testing: With the introduction of modularization, each feature extraction function is now independently unit tested. This ensures the reliability and correctness of these functions in isolation.
  • Integration Testing: An integration test has been added to verify the correct functioning of the CLI command with the "--spec_features" flag. This integration test validates the end-to-end behavior of the feature extraction process.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago almost 2 years ago

BatDetect2 - v1.0.5

Bug Fixes:

  1. Issue #10 was fixed by making sure empty files or files without predictions are handled correctly. Added a new test case for this scenario. Modified some of the functions that post-process the model's prediction to handle the case of no predictions adequately.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago

BatDetect2 - v1.0.4

Fixed the missing filename in the console output of the detect command.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago

BatDetect2 - v1.0.3

Bug fixes:

  1. Time expansion factor was not being read correctly in the CLI.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago

BatDetect2 - v1.0.2

Fixed issues when running on GPU.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago

BatDetect2 - v1.0.1

Fixed CLI command issue.

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago

BatDetect2 - v1.0

BatDetect2 Version 1.0!

With the help of a Deep Learning model, this tool can effectively detect bats and classify bat calls in audio files. We have designed the tool with three main modules, namely api, cli, and plot, to enhance its usability and functionality.

Our api module allows you to process audio files using Python. You can run the model on a file, an audio array, or a spectrogram. Additionally, the api module has functions to load audio, generate spectrograms (in a way compatible with the ML model), use the ML model directly, and postprocess model outputs. This module can be very useful for those who wish to integrate the bat detection tool into their own software.

We have also introduced a new command called batdetect2 in the cli module that allows you to process a directory of audio files during installation. The cli module is a command-line interface designed for those who prefer to interact with the tool via the command line.

Lastly, the plot module has some functions to quickly visualize the spectrograms and model predictions. This module can be very useful for those who wish to visually inspect the output of the bat detection model.

We are currently developing code for training and evaluating your bat detector, so stay tuned for updates!

Biosphere - Bioacoustics and Acoustic Data Analysis - Jupyter Notebook
Published by mbsantiago about 2 years ago