mirror of
https://github.com/storytold/vits-finetuning.git
synced 2026-10-09 00:09:52 +00:00
Make easier to train on max sample length = 10s
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ class TextAudioLoader(torch.utils.data.Dataset):
|
||||
continue
|
||||
|
||||
au_len = librosa.get_duration(filename=audiopath)
|
||||
if au_len > 13.0:
|
||||
if au_len > 10.0:
|
||||
n_fau += 1
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user