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.4.0.tar.gz
.
File metadata
- Download URL: autrainer-0.4.0.tar.gz
- Upload date:
- Size: 118.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.18 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e7988bce378402baaad937de93f8417b13fa682c40454db14d1867f05e188c0 |
|
MD5 | de1fabade1ec1b31599ad3e026e55dfb |
|
BLAKE2b-256 | 6a9b5b0bddf1fb8169a376227da30870c8c41012f7b97a89c6b8d4cc193d2aca |
File details
Details for the file autrainer-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: autrainer-0.4.0-py3-none-any.whl
- Upload date:
- Size: 253.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.9.18 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 970efdc1d1b31b5dc171cfd13ff738417a1af4dd1b20d1f1752d2e755d2743da |
|
MD5 | 4893d42ea400a609762c298dbf7c3c06 |
|
BLAKE2b-256 | 798947bc66b3623d3aae842a960682b16355f2a073ef50b119298df6b772810b |