Skip to main content

DAS

Project description

Test install

Deep Audio Segmenter

DAS is a method for automatically annotating song from raw audio recordings based on a deep neural network. DAS can be used with a graphical user interface, from the terminal, or from within python scripts.

If you have questions, feedback, or find bugs please raise an issue.

Please cite DAS as:

Elsa Steinfath, Adrian Palacios, Julian Rottschäfer, Deniz Yuezak, Jan Clemens (2021).
Fast and accurate annotation of acoustic signals with deep neural networks.
bioRxiv, https://doi.org/10.1101/2021.03.26.436927

Installation

Pre-requisites

Anaconda: DAS is installed using an anaconda environment. For that, first install the anaconda python distribution (or miniconda).

If you have conda already installed, make sure you have conda v4.8.4+. If not, update from an older version with conda update conda.

CUDA libraries for using the GPU: While DAS works well for annotating song using the CPU, a GPU will greatly improve annotation speed and is recommended for training a DAS network. The network is implemented in the deep-learning framework Tensorflow. To make sure that Tensorflow can use your GPU, the required CUDA libraries need to be installed. See the tensorflow docs for details.

Libsoundfile on linux: The graphical user interface (GUI) reads audio data using soundfile, which relies on libsndfile. libsndfile will be automatically installed on Windows and macOS. On Linux, the library needs to be installed manually with: sudo apt-get install libsndfile1. Note that DAS will work w/o libsndfile but will not be able to load exotic audio formats.

Install DAS with or without the GUI

Create an anaconda environment called das that contains all the required packages, including the GUI:

conda env create -f https://raw.githubusercontent.com/janclemenslab/das/master/env/das_gui.yml -n das

If you do not need the graphical user interface, for instance, when training DAS on a server, install the plain version:

conda env create -f https://raw.githubusercontent.com/janclemenslab/das/master/env/das_plain.yml -n das

Usage

To start the graphical user interface:

conda activate das
das gui

The documentation at https://janclemenslab.org/das/ provides information on the usage of DAS:

Acknowledgements

The following packages were modified and integrated into das:

  • Keras implementation of TCN models modified from keras-tcn (in das.tcn)
  • Trainable STFT layer implementation modified from kapre (in das.kapre)

See the sub-module directories for the original READMEs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

das-0.21.5.tar.gz (64.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

das-0.21.5-py3-none-any.whl (75.0 kB view details)

Uploaded Python 3

File details

Details for the file das-0.21.5.tar.gz.

File metadata

  • Download URL: das-0.21.5.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for das-0.21.5.tar.gz
Algorithm Hash digest
SHA256 ede7c272a3106da90d7ec700bee5067087946f7a61b41f27c69beb9813b25e5f
MD5 79782ff0706cf03c492f0db6e3f6e2c6
BLAKE2b-256 c6dde145816154a8bce32ed36ccbd44f9a9874d33db56ffc1baffbced82faa9e

See more details on using hashes here.

File details

Details for the file das-0.21.5-py3-none-any.whl.

File metadata

  • Download URL: das-0.21.5-py3-none-any.whl
  • Upload date:
  • Size: 75.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for das-0.21.5-py3-none-any.whl
Algorithm Hash digest
SHA256 373866ba74d24c4e53226ee61fc5e50e21b70552259dd4139d63861f2b1ed1c1
MD5 c3a753f21293b3572ed0fd211d726ff9
BLAKE2b-256 82480648b097fe304fbac77337e6e45c5956bfb2038c9fed66890d6db36bbed9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page