lhotse-speech / lhotse

Tools for handling speech data in machine learning projects.
https://lhotse.readthedocs.io/en/latest/
Apache License 2.0
956 stars 219 forks source link

how to set sampler when resume training? #1401

Open TinaChen95 opened 1 month ago

TinaChen95 commented 1 month ago

I'm training on a big dataset, and some times training may got interrupted before one epoch is done. when I resume training, sampler.set_epoch seems to restart from step 0 how can I set the sampler to skip the first n steps to match my training ?