Closed fijipants closed 2 years ago
Thanks for the report, I'm working on a fix.
In the mean time you can set "phonemizer": "zh_cn_phonemizer"
in the config file, and it shoud work.
tts --model_name "tts_models/zh-CN/baker/tacotron2-DDC-GST" --text "δ½ ε₯½δΈηγ" --out_path "test.wav"
works on my config.
https://drive.google.com/file/d/1K1cVww-zzQDHTT1vunz_Mj9t02FNipTB/view?usp=sharing
Here is the PR: https://github.com/coqui-ai/TTS/pull/1399
I close this, reopen if the issue still exists.
π Description
Full log
``` $ tts --model_name "tts_models/zh-CN/baker/tacotron2-DDC-GST" --text "hello" --out_path "test.wav" > Downloading model to /home/fijipants/.local/share/tts/tts_models--zh-CN--baker--tacotron2-DDC-GST > Using model: tacotron2 > Setting up Audio Processor... | > sample_rate:22050 | > resample:False | > num_mels:80 | > log_func:np.log10 | > min_level_db:-100 | > frame_shift_ms:None | > frame_length_ms:None | > ref_level_db:0 | > fft_size:1024 | > power:1.5 | > preemphasis:0.0 | > griffin_lim_iters:60 | > signal_norm:True | > symmetric_norm:True | > mel_fmin:50.0 | > mel_fmax:7600.0 | > pitch_fmin:0.0 | > pitch_fmax:640.0 | > spec_gain:1.0 | > stft_pad_mode:reflect | > max_norm:4.0 | > clip_norm:True | > do_trim_silence:True | > trim_db:60 | > do_sound_norm:False | > do_amp_to_db_linear:True | > do_amp_to_db_mel:True | > do_rms_norm:False | > db_level:None | > stats_path:/home/fijipants/.local/share/tts/tts_models--zh-CN--baker--tacotron2-DDC-GST/scale_stats.npy | > base:10 | > hop_length:256 | > win_length:1024 > Model's reduction rate `r` is set to: 2 > Using Griffin-Lim as no vocoder model defined > Text: hello > Text splitted to sentences. ['hello'] Traceback (most recent call last): File "/home/fijipants/miniconda3/envs/coqui-pip-0.6.1/bin/tts", line 8, inTo Reproduce
Expected behavior
Doesn't error
Environment
Additional context
Might be related to #1381