p0p4k/vits2_pytorch

KeyError when training the Chinese dataset

KevinWang676 opened this issue · 4 comments

Hi, does anyone know how to fix the KeyError: ',' when training the Chinese dataset? I'm using chinese_cleaners defined here. Thank you!

image

p0p4k commented

fixed in latest patch.
unavailable tokens will just be skipped.

Hi, thank you so much for the fix! However, you may need to change the variable to cleaned_text in line 40 and define sequence = [] in line 38. I fix the typos in my folk.

Also, I wonder if missing the symbols like the comma , would affect my training process and results. Thank you!

Hi @p0p4k, I wonder if missing some symbols like the comma , would affect my training process and results. Thank you!

p0p4k commented

You can add missing punctuations in the punctuations list and try training with that first.