mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
do not resample audio in Dataloader
This commit is contained in:
1 parent
df02e876ae
commit
26beea0e1b
1 file changed
+1
-1
@@ -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