AudioSetDataLoader<T>
Models & Types · AiDotNet.Data.Audio.Benchmarks
Loads the AudioSet large-scale audio event dataset (2M+ 10-second clips, 527 categories).
Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → AudioSetDataLoader<T>
How It Works
AudioSet expects pre-downloaded audio and CSV label files:
CSV format: YTID, start_seconds, end_seconds, positive_labels (comma-separated label IDs). Features are raw waveform Tensor[N, MaxSamples]. Labels are multi-hot Tensor[N, 527].
Constructors
| Constructor | Summary |
|---|---|
AudioSetDataLoader(AudioSetDataLoaderOptions options) |
Creates a new AudioSet data loader. |
Properties
| Property | Summary |
|---|---|
int FeatureCount { get; } |
|
int OutputDimension { get; } |
|
int TotalCount { get; } |
|
string Description { get; } |
|
string Name { get; } |
Methods
| Method | Summary |
|---|---|
ValueTuple<IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>> Split(double trainRatio, double validationRatio, int? seed) |