Musdb18DataLoader<T>

Models & Types · AiDotNet.Data.Audio.Benchmarks

Loads the MUSDB18 music source separation dataset (150 tracks, 4 stems: vocals, drums, bass, other).

Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → Musdb18DataLoader<T>

How It Works

MUSDB18 expects pre-extracted WAV stems:

Features are mixture waveform segments Tensor[N, SegmentSamples]. Labels are concatenated stem segments Tensor[N, SegmentSamples * 4] (vocals, drums, bass, other).

Constructors

Constructor Summary
Musdb18DataLoader(Musdb18DataLoaderOptions options) Creates a new MUSDB18 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)