Spaces:
Runtime error
Runtime error
File size: 361 Bytes
557fb53 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from utils import set_path
set_path()
from preprocessing.dataset import BestBallroomDataset
from preprocessing.pipelines import SpectrogramTrainingPipeline
def test_spectrogram_training_pipeline():
ds = BestBallroomDataset()
pipeline = SpectrogramTrainingPipeline()
waveform, _ = ds[0]
out = pipeline(waveform)
assert len(out.shape) == 3
|