Skip to content

Releases: kitzeslab/opensoundscape

v0.6.2

25 Mar 21:02
c28d6b8
Compare
Choose a tag to compare

This release provides minor updates and bug fixes in the OpenSoundscape code base and documentation but does not make breaking changes to the API.

Merged Pull Requests:

Full Changelog: v0.6.1...v0.6.2

v0.6.1

20 Dec 14:04
c9b914a
Compare
Choose a tag to compare

This release adds new functionality to OpenSoundscape and resolves a few issues.

Highlights

  • Saving with model.save() and loading with cnn.load_model() or cnn.load_outdated_model(): Models are now saved and loaded as the entire object, so that the loaded model object has all attributes of the object when it was saved. Models saved with previous versions of opensoundscape must be loaded with opensoundscape.torch.models.cnn.load_outdated_model - see the tutorial "Predicting with pretrained CNNs" for details
  • Directly load segments of audio files: using the new arguments offset and duration of Audio.from_file() you can quickly load an arbitrary section of a .WAV file without loading the whole file. (It works for mp3s too but is not as fast in that case.)
  • Directly predict on "splits" of files without actually splitting them: New functionality including the ClipLoadingSpectrogramPreprocessor class allows you to quickly and easily generate CNN predictions on short (eg 5 second) segments of long audio files without needing to split the files into clips first. See "Predicting with pretrained CNNs" tutorial for an example
  • Github homepage gives quick-start examples for #tldr seekers
  • model.device now allows you to move to a specific cuda device other than 'cuda:0'
  • PytorchModel init allows user to specify name of architecture instead of architecture object, eg PytorchModel('resnet50',classes=[0,1])
  • All models and architectures can be loaded without downloading pretrained weights. Resnet18Multiclass and Resnet18Binary have been refactored as subclasses of PytorchModel.

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

29 Nov 15:13
10910fc
Compare
Choose a tag to compare

This release represents a significant update to OpenSoundscape and includes changes to the API. It introduces new features and fixes various outstanding issues and bugs.

new feature highlights

  • annotations module (replaces raven module) with new tools for manipulating audio annotations, such as those created in Raven software
  • signal module for signal processing, including tool for Ruffed Grouse drumming detection
  • directly load and predict on long audio files with CNNs without splitting first (splits audio into shorter clips in memory - this eliminates the need to split and save short clips for every long audio file before prediction) - see example in "Predicting with pre-trained CNNs" tutorial
  • Audio.from_file now loads metadata from audio files into Audio object's .metadata dictionary. For files recorded by AudioMoths, this can include a recording timestamp and ambient temperature measurement, among other metadata
  • audiomoth module assists in parsing AudioMoth recordings' metadata (e.g., ambient temperature and recording time) and file names (to datetime objects)

What's Changed: Pull Requests from Develop branch

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

22 Jun 19:20
3a038e6
Compare
Choose a tag to compare

This release represents a significant update to OpenSoundscape and a major change to the OpenSoundscape API. It includes the following features:

  • Training with multi-class models
  • Customizable CNN parameters:
    • learning rate and scheduling
    • regularization weight decay
    • pretrained weights
    • ability to freeze the feature extractor
  • Customizable CNN architectures
    • pre-supplied classes for ResNet18 and Inceptionv3
    • General PytorchModel class that can be used with a variety of other provided architectures
  • Customizable preprocessing pipelines
  • Notebooks documenting the new API and customization

v0.4.7: Merge pull request #267 from kitzeslab/develop

16 Apr 20:32
98ce360
Compare
Choose a tag to compare