-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add marker of sil, sp to TextGrid after MFA? #21
Comments
|
@nampdn, please checkout the |
Woot! I'm so grateful. I'll try it now. |
Hi @NTT123 , ('n', 'g', 'ư', 'ờ', 'i', ' ', 'đ', 'o', ' ', 'c', 'h', 'i', 'ề', 'u', ' ', 'r', 'ộ', 'n', 'g', ' ', 'c', 'ủ', 'a', ' ', 'l', 'ố', 'i', ' ', 'v', 'à', 'o', ' ', 'c', 'ổ', 'n', 'g', ' ', 'sil', 'l', 'à', ' ', 'n', 'ă', 'm', ' ', 'sil', '3', ' ', 'm', 'é', 't', ' ', 'sil', 'v', 'à', ' ', 'c', 'h', 'i', 'ề', 'u', ' ', 'd', 'à', 'i', ' ', 'l', 'à', ' ', 's', 'á', 'u', ' ', 'sil', '9', ' ', 'm', 'é', 't', ' ', 'sil')
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/vietTTS/vietTTS/nat/acoustic_trainer.py", line 181, in <module>
train()
File "/content/vietTTS/vietTTS/nat/acoustic_trainer.py", line 100, in train
batch = next(train_data_iter)
File "/content/vietTTS/vietTTS/nat/data_loader.py", line 111, in load_textgrid_wav
ps = [phonemes.index(p) for p in ps]
File "/content/vietTTS/vietTTS/nat/data_loader.py", line 111, in <listcomp>
ps = [phonemes.index(p) for p in ps]
ValueError: '3' is not in list Can you take a look on this sample? Can I add |
You have to normalize the transcripts. For example, "3" should be converted to "ba". |
Oh I got that point, cheers! |
Hi @NTT123,
First of all thank you for your brilliant work! I have successfully trained my dataset with MFA, but it is not generated
.TextGrid
as a marker for silence, space. Could you please help me on how we can detect and add these symbol to the TextGrid file?The text was updated successfully, but these errors were encountered: