-
It seems to me after trim_to_supervision() doing feature extraction will be quite inefficient because to extract the features the audio files will be loaded repeatedly for every cut (instead of say loading once and then extracting features for all the supervisions). So my question is is my thinking correct that it's best to extract features and then call trim_to_supervision? And I guess trim_to_supervision is not reversible in some way (going back to all supervisions of one audio file being in one cut)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Lhotse only loads the relevant segments of the audio, so the full recording is not loaded. Usually I have 2 rules of thumb when deciding whether to trim before or after feature extraction:
|
Beta Was this translation helpful? Give feedback.
Lhotse only loads the relevant segments of the audio, so the full recording is not loaded. Usually I have 2 rules of thumb when deciding whether to trim before or after feature extraction: