A collection of PyTorch audio datasets for speech and music applications
Project description
AudioLoader
AudioLoader is a PyTorch dataset based on torchaudio. It contains a collection of datasets that are not available in torchaudio yet.
Currently supported datasets:
Example code
A complete example code is available in this repository. The following pseudo code shows the general idea of how to apply AudioLoader to your existing code.
from AudioLoader.speech import TIMIT
from torch.utils.data import DataLoader
# AudioLoader helps you to set up supported datasets
dataset = TIMIT('./YourFolder',
split='train',
groups='all',
download=True)
train_loader = DataLoader(dataset,
batch_size=4)
# Pass the dataset to you
model = MyModel()
trainer = pl.Trainer()
trainer.fit(model, train_loader)
Installation
pip install git+https://github.com/KinWaiCheuk/AudioLoader.git
News & Changelog
version 0.0.3 (10 Sep 2021):
- Replace broken links with a working links for
MAPS
andTIMIT
- Remove the slience indicators in the phonemic labels for TIMIT
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
AudioLoader-0.1.4.tar.gz
(39.9 kB
view details)
Built Distribution
File details
Details for the file AudioLoader-0.1.4.tar.gz
.
File metadata
- Download URL: AudioLoader-0.1.4.tar.gz
- Upload date:
- Size: 39.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 156e7a51585ddc6c6eba639261d0e58fc7d460a7730a461beb932804b8f4db8b |
|
MD5 | 222b5ac1612eb20584d2d72ede8d40bd |
|
BLAKE2b-256 | 785026f3c21d9916006fd649cda7a6c46ce24eaa4d117f3839c00e5785df38df |
File details
Details for the file AudioLoader-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: AudioLoader-0.1.4-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e853ab04a1f48d94da948ee4bdee8e56671adf8523b597980b1d63091344e1b |
|
MD5 | 19aecc1eab930b6afa1c8705e43b4f35 |
|
BLAKE2b-256 | 801f0d642a538075173d58273bc5168365002e5c12f65454e18b4d76ffb94907 |