Create correct path to existing segmented audio files when creating a KantoData object
Closed this issue · 0 comments
nilomr commented
- Do not use
dataset.metadata[key]["wav_file"]
- broken path if generated in a different location. - Get from
list((self.DIRS.SEGMENTED / "WAV").glob("*.wav"))
instead - just find matching name usingpathlib
.