LibriSpeechDataLoaderOptions
Options & Configuration · AiDotNet.Data.Audio.Benchmarks
Configuration options for the LibriSpeech data loader.
How It Works
LibriSpeech is a corpus of ~1000 hours of 16kHz English speech derived from audiobooks. Subsets: train-clean-100, train-clean-360, train-other-500, dev-clean, dev-other, test-clean, test-other. Audio is stored as FLAC files with corresponding text transcriptions.
Constructors
| Constructor | Summary |
|---|---|
LibriSpeechDataLoaderOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool AutoDownload { get; set; } |
Automatically download if not present. |
double MaxDurationSeconds { get; set; } |
Maximum audio duration in seconds. |
int SampleRate { get; set; } |
Sample rate in Hz. |
int? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
string DataPath { get; set; } |
Root data path. |
string Subset { get; set; } |
LibriSpeech subset. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates that all option values are within acceptable ranges. |