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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file autrainer-0.1.0.tar.gz.

File metadata

  • Download URL: autrainer-0.1.0.tar.gz
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/6.5.0-1025-azure

File hashes

Hashes for autrainer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6be034b8650c5d3ff561c65db65a02cdc08b912e7a601197d9a9df4028f75f12
MD5 677ca33a974ea03512d4689194366176
BLAKE2b-256 a999bfbe50fac7290130597d000c81130e91bd7eb5603280d062e28351cb271b

See more details on using hashes here.

File details

Details for the file autrainer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autrainer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 243.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/6.5.0-1025-azure

File hashes

Hashes for autrainer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a01097ecb8a5f3cf267b16ed48a6ea1411f575cd6d095195b2b927f7a35d9f1c
MD5 c041c84d5f1a6091de211cf8f0e10c3c
BLAKE2b-256 a4bf183cc5e4115817be7db14976f9869a5108a6cc2d1430c80c1b2fc4a16342

See more details on using hashes here.

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