-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TTS微调完后,如何使用style_fs2改变语速,我试着按照style_fs2的文档把fastspeech2模型换成自己的,但是一直报OOM #2504
Comments
“那几个npy文件” 以及 phone_id_map.txt 应该使用预训练模型里面的文件,此处应该是 fastspeech2_aishell3_ckpt_1.1.0.zip 里面的文件 |
好的,我试试,谢谢 |
大概这个样子,给后来人参考,speaker_id_map.txt和spk_id加上就可以了,不然跑出来的声音很奇怪。
|
您好,方便参考一下您完整的代码吗, #2722 我修改后还是GPU OOM |
python3 style_syn.py
--fastspeech2-config
=/opt/ml/server/PaddleSpeechserver/demos/speech_web/speech_server/tmp_dir/finetune/trans/exp/default.yaml
--fastspeech2-checkpoint
=/opt/ml/server/PaddleSpeechserver/demos/speech_web/speech_server/tmp_dir/finetune/trans/exp/checkpoints/snapshot_iter_120292.pdz
--fastspeech2-stat=download/fastspeech2_nosil_baker_ckpt_0.4/speech_stats.npy
--fastspeech2-pitch-stat=download/fastspeech2_nosil_baker_ckpt_0.4/pitch_stats.npy
--fastspeech2-energy-stat=download/fastspeech2_nosil_baker_ckpt_0.4/energy_stats.npy
--pwg-config=download/pwg_baker_ckpt_0.4/pwg_default.yaml
--pwg-checkpoint=download/pwg_baker_ckpt_0.4/pwg_snapshot_iter_400000.pdz
--pwg-stat=download/pwg_baker_ckpt_0.4/pwg_stats.npy
--text=/opt/ml/server/PaddleSpeechserver/demos/speech_web/speech_server/tmp_dir/finetune/trans/sentences.txt
--output-dir=output --phones-dict=download/fastspeech2_nosil_baker_ckpt_0.4/phone_id_map.txt
其中fastspeech2-config和fastspeech2-checkpoint是我自己微调的模型,其他的没变。那几个npy文件不知道怎么生成,是npy引起的OOM吗。设置GPU自增长不管用,改用cpu也是内存错误
The text was updated successfully, but these errors were encountered: