mltk.datasets.audio.yes_no¶
Yes/No¶
This is a synthetically generated dataset with the keywords:
yes
no
The samples are 16kHz, 16-bit PCM .wav
files.
Variables
Public download URL |
|
SHA1 hash of the downloaded archive file |
|
The class labels of the dataset samples |
Functions
|
Download and extract the dataset |
|
Generate the dataset |
- DOWNLOAD_URL = 'https://www.dropbox.com/s/83z0pkvtunpw7cy/sl_synthetic_yes_no.7z?dl=1'¶
Public download URL
- VERIFY_SHA1 = 'abf31f3444f17e94b5bded4d4e2a001b5a6cb1b7'¶
SHA1 hash of the downloaded archive file
- CLASSES = ['yes', 'no']¶
The class labels of the dataset samples
- download(dest_dir=None, dest_subdir='datasets/yes_no', logger=None, clean_dest_dir=False)[source]¶
Download and extract the dataset
- Return type:
str
- Returns:
The directory path to the extracted dataset
- Parameters:
dest_dir (str) –
logger (Logger) –
- generate_dataset(out_dir=None)[source]¶
Generate the dataset
This generates the dataset using the AudioDatasetGenerator Python package provided by the MLTK.
- Parameters:
out_dir (str) –