mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
bug fix
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
"text_cleaner": "english_cleaners",
|
||||
|
||||
"epochs": 2000,
|
||||
"lr": 0.0006 / 32,
|
||||
"lr": 0.00001875,
|
||||
"warmup_steps": 4000,
|
||||
"batch_size": 1,
|
||||
"r": 5,
|
||||
|
||||
@@ -52,7 +52,7 @@ class LJSpeechDataset(Dataset):
|
||||
length = lengths[idx]
|
||||
if length < self.min_seq_length:
|
||||
ignored.append(idx)
|
||||
else
|
||||
else:
|
||||
new_frames[i] = self.frames[idx]
|
||||
print(" | > {} instances are ignored by min_seq_len ({})".format(len(ignored), self.min_seq_len))
|
||||
self.frames = new_frames
|
||||
|
||||
Reference in New Issue
Block a user