mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
do not resample audio in Dataloader
This commit is contained in:
@@ -72,7 +72,7 @@ class MyDataset(Dataset):
|
||||
self.sort_items()
|
||||
|
||||
def load_wav(self, filename):
|
||||
audio = self.ap.load_wav(filename, sr=self.sample_rate)
|
||||
audio = self.ap.load_wav(filename)
|
||||
return audio
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user