Skip to main content

A Modular and Extensible Deep Learning Toolkit for Computer Audition Tasks.

Project description

autrainer — A Modular and Extensible Deep Learning Toolkit for Computer Audition Tasks

autrainer

autrainer PyPI Version autrainer Python Versions autrainer Hugging Face autrainer GitHub License

A Modular and Extensible Deep Learning Toolkit for Computer Audition Tasks.

autrainer is built on top of PyTorch and Hydra, offering a modular and extensible way to perform reproducible deep learning experiments for computer audition tasks using YAML configuration files and the command line.

Installation

To install autrainer, first ensure that PyTorch (along with torchvision and torchaudio) version 2.0 or higher is installed. For installation instructions, refer to the PyTorch website.

It is recommended to install autrainer within a virtual environment. To create a new virtual environment, refer to the Python venv documentation.

Next, install autrainer using pip.

pip install autrainer

The following optional dependencies can be installed to enable additional features:

  • latex for LaTeX plotting (requires a LaTeX installation).
  • mlflow for MLflow logging.
  • tensorboard for TensorBoard logging.
  • opensmile for audio feature extraction with openSMILE.
  • albumentations for image augmentations with Albumentations.
  • torch-audiomentations for audio augmentations with torch-audiomentations.

To install autrainer with all optional dependencies, use the following command:

pip install autrainer[all]

To install autrainer from source, refer to the contribution guide.

Next Steps

To get started using autrainer, the quickstart guide outlines the creation of a simple training configuration and tutorials provide examples for implementing custom modules including their configurations.

For a complete list of available CLI commands, refer to the CLI reference or the CLI wrapper.

Project details


Download files

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

Source Distribution

autrainer-0.1.0.tar.gz (112.7 kB view hashes)

Uploaded Source

Built Distribution

autrainer-0.1.0-py3-none-any.whl (243.9 kB view hashes)

Uploaded Python 3

Supported by

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