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 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.audiomentations
for audio augmentations with audiomentations.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
Built Distribution
File details
Details for the file autrainer-0.2.0.tar.gz
.
File metadata
- Download URL: autrainer-0.2.0.tar.gz
- Upload date:
- Size: 114.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5073ad0bc2fc1c74499cbda0c9e32ab1bdde58df0c9b6f8b96f068edab546524 |
|
MD5 | b7afdb282b211e9c8a9f847772f0f331 |
|
BLAKE2b-256 | 89c19c6e73a84314e8b331d93167915e8026464a7ced1a15ee1177799d7522a0 |
File details
Details for the file autrainer-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: autrainer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 247.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.18 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68475eac7456cb976197029e266c6d56cf730d43795ca4cb39dec6cc07476d8 |
|
MD5 | d402a66e1048d775f5dff6d0b4d3246d |
|
BLAKE2b-256 | 4f9b79b458050da6171edd64c72babca7941d8ab13e546a9759eca450727c252 |