descriptinc / audiotools

Object-oriented handling of audio data, with GPU-powered augmentations, and more.
https://descriptinc.github.io/audiotools/
MIT License
219 stars 37 forks source link

Adding a BatchSampler where you can change the batch size. #35

Closed pseeth closed 2 years ago

pseeth commented 2 years ago

This PR adds a sampler that lets you change the batch size dynamically, using the same shared Manager dictionary trick that's used to change the duration and transform in CSVDataset.