Skip to content

English synthsis is good, how about Chinese? #58

Closed

Description

@lucasjinreal

Does this got any blog or attempt on do tts on Chinese?

Activity

  1. erogol commented on Oct 26, 2018

    @erogol
    Contributor

    Never tried sorry but it'd be interesting to see.

  2. dvbfuns commented on Nov 21, 2018

    @dvbfuns

    Chinese is also good in this model. And compared with other tacotron model, this model can get clear voice with less time. in my test, with same dataset, 10000 steps can synthesis the voice which the quality similar to tacotron 50000 steps.

  3. erogol commented on Nov 21, 2018

    @erogol
    Contributor

    @dvbfuns great to hear that. Do you have any samples to share? It'd be great to put into the main page, if you don't mind.

  4. lucasjinreal commented on Nov 22, 2018

    @lucasjinreal
    Author

    @dvbfuns Which training dataset are u using? A Chinese version TTS would be good to enhance this great repo

  5. dvbfuns commented on Nov 22, 2018

    @dvbfuns

    @erogol would like to share the samples, just I have problem to access soundcloud.com, any suggestions to do the sharing? or I can share them to you with e-mail ?

  6. erogol commented on Nov 22, 2018

    @erogol
    Contributor

    @dvbfuns e-mail would work egolge@mozilla.com . Thanks for your help.

  7. erogol commented on Nov 22, 2018

    @erogol
    Contributor

    @dvbfuns you might even consider PR your Chinese changes. I agree @dvbfuns, that would be great addition.

  8. dvbfuns commented on Nov 23, 2018

    @dvbfuns

    @erogol , already send your mail with the model and samples, please kindly refer.

  9. lucasjinreal commented on Nov 23, 2018

    @lucasjinreal
    Author

    @erogol Would u like update into README or model zoo? @dvbfuns BTW, did u using your own labeling dataset?

  10. erogol commented on Nov 23, 2018

    @erogol
    Contributor

    @jinfagang I can put whatever @dvbfuns can provide. But also understand if he doesn't like to share the model.

  11. lucasjinreal commented on Nov 24, 2018

    @lucasjinreal
    Author

    @erogol Could u resend the voice samples to me? I'd like to check the performance of Chinese result. jinfagang19@gmail.com , thanks in advance

  12. erogol commented on Nov 24, 2018

    @erogol
    Contributor

    @jinfagang anything I've will be posted on Github as soon as I receive.

  13. erogol commented on Dec 14, 2018

    @erogol
    Contributor

    I close this due to inactivity. Feel free to reopen.

  14. mazzzystar commented on Jan 17, 2019

    @mazzzystar

    @jinfagang @erogol
    Hi! I'd like to share some Chinese results. You can download demo.zip

    And still, Decoder stopped with 'max_decoder_steps will sometimes happen when infer some long sentences(>20). Glad to see if you know good way to handle it.

  15. 21 remaining items

  16. lucasjinreal commented on Dec 17, 2019

    @lucasjinreal
    Author

    @puppyapple On which branch? How to prepare for training on Biaobai?

  17. puppyapple commented on Dec 17, 2019

    @puppyapple

    @jinfagang @tsungruihon All is in dev branch. For Biaobei dataset I have not made any extra preparations, just followed the implementation in erogol's and got positive results. But still, this public dataset is too small and is lack of punctuation symbols in the scripts, not all sentences synthesised are as natural as showed in my samples, some have also bad or wrong punctuations. In general the results are not bad.

  18. OswaldoBornemann commented on Dec 18, 2019

    @OswaldoBornemann

    @puppyapple thanks my friend. It seems that you use Tacotron2 with location sensitive attention instead of forward attention, according to the config.json from your dev branch.

  19. puppyapple commented on Dec 18, 2019

    @puppyapple

    @tsungruihon yes and I also finetuned with BN prenet like erogol described in #26.

  20. shad94 commented on Dec 18, 2019

    @shad94

    @puppyapple, I got two questions, since I am new to the project:

    1. Have you changed content of files in TTS/tests for purpose of Chinese? The same with TTS/mozilla-us-phonemes
    2. How to generate encoder VS decoder graph?
      Thank you
  21. puppyapple commented on Dec 18, 2019

    @puppyapple

    @shad94

    1. I didn't use TTS/tests for testing, but with the benchmark jupyter notebook in TTS/notebooks with some modifications;
    2. It's already implemented by erogol in the logger class.
  22. OswaldoBornemann commented on Dec 19, 2019

    @OswaldoBornemann

    @puppyapple . Thanks my friend.

  23. WhiteFu commented on Jan 7, 2020

    @WhiteFu

    @puppyapple I find the audio that you offer is 48000Hz. your sample_rate in config.json is 48000? Because upsampling(22kHz -> 48kHz) doesn't have high frequency details .

  24. puppyapple commented on Jan 7, 2020

    @puppyapple

    @WhiteFu Yes, since the Biaobei dataset is 48khz, I just keep it the way as it is, without any upsampling.

  25. WhiteFu commented on Jan 7, 2020

    @WhiteFu

    Thank you for your reply. I will check more details in you fork branch:)

  26. chynphh commented on Jan 12, 2020

    @chynphh

    @erogol @puppyapple Hi, I am a newbie in this area. I'm trying to use TTS2 to train a Chinese muti-speaker model. Here are my samples. And I have some questions.

    1. Generated audio files are understandable but very noisy(the samples are in samples/phonemes/120Kstep/). I done not use any vocode(GL or WaveRNN). Is this normal?
      How to deal with this problem? Using a vocode or any other idea?
    2. For Chinese, is it better to use pinyin or phonemes? When I use phonemes, some tones are not accurate, like a non-native speaker speaks Chinese. My model using pinyin has not yet converged.
    3. Why is there a big difference between training and testing? I set the same parameters for the function synthesis. The results of test-text in training(train.py) are much better than in testing(Benchmark.ipynb). The training time samples are in samples/without_phonemes(use pinyin)/29037steps and samples/without_phonemes(use pinyin)/30886steps" The testing time samples are in samples/without_phonemes(use pinyin)/30000steps.
    4. Is there a big difference between training WaveRNN with raw wav files or TTS2 model? Which is better? Is there a guide to training the WaveRNN model?

    The format of the file name is {text}-{speaker id}-{train steps}.
    Thank you very much! :)

  27. puppyapple commented on Jan 16, 2020

    @puppyapple

    @chynphh Since I'm also fresh in TTS domain, I can only try to answer you question from my own point of view, which may be not correct.

    1. It is sure that using a vocoder will give better audio quality. In this repo, erogol has already implemented GL to generate test audio for tensorboard display, have you listened to the result? I've tried both WaveRNN and ParallelWaveGAN, WaveRNN could get high quality but with large 'overlap' parameters which will increase inference time. ParallelWaveGAN result is a little noisy but not quite obvious, however it is much more faster.
    2. In my own test, pinyin is sufficient to get good pronunciation.
    3. 30k steps seems far from enough, you could wait longer.
    4. I have not tried Ground Truth mel from raw wav file for WaveRNN, Tacotron 2 generated mels seem to work well. You can try to understand erogol's implementation and give it a try, for me it's clear enough.
  28. chynphh commented on Jan 16, 2020

    @chynphh

    @puppyapple thanks for your reply!

    After my experiments, using Pinyin is indeed better than phonemes.
    I trained Tacotron 2 with 240K steps. The results were good but still a bit noisy.
    Now, I'm trying to train a WaveRNN model. I tried to use the mels generated by Tacsotron 2, but it cannot work with the raw wav file. It seems to be caused by a mismatch between the raw wav file and mels generated by Tacsotron 2( #26 (comment)).
    So, I trained WaveRNN with raw wav files and Ground Truth mels. Until now, it hasn't worked with 180K steps.
    When training WaveRNN with mels from Tacotron2, which wavs do you use, the ground truth wavs file or the wavs generated by Tacotron2?

  29. puppyapple commented on Jan 16, 2020

    @puppyapple

    @chynphh mels generated by trained Tacotron2 model as input and ground truth audio files as target. Have you extracted mels using the right config? You could refer to the benchmark notebook in this repo to do that, maybe a few modifications are needed. For #26 (comment), maybe try to locate the out of range sample to find out the reason(like 'hop_length' mismatch, etc.)

  30. chynphh commented on Jan 16, 2020

    @chynphh

    @puppyapple Thanks for your suggestions and answers, I will double check my code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions