def __get_audio__(self, f): audio = load_audio(f, self.sr, self.min_duration) return audio
def __get_audio__(self, f): audio = load_audio(f, self.sr, self.min_duration) # preprocessed_audio = torch.from_numpy(audio).unsqueeze(0) # print('[__get_audio__] preprocessed_audio shape', preprocessed_audio.shape) return audio