CDFSE_FastSpeech2
1.0.0
يحتوي هذا الريبو على رمز مصاحب للورقة "مكبر صوت تعتمد على المحتوى الدقيق الذي يدمج لتكييف مكبر الصوت صفريًا في تخليق النص إلى كلام" ، والذي يتم تنفيذه على أساس Ming024/Fastspeech2 (شكرًا جزيلاً!).
2022-06-15 تحديث: تم قبول هذا العمل في interspeech 2022.
pip3 install -r requirements.txtيرجى الرجوع إلى ming024/fastspeech2 لمزيد من التفاصيل.
على سبيل المثال،
python3 prepare_align.py config/AISHELL3/preprocess.yamlثم قم بتنزيل ملفات TextGrid أو استخدم MFA لمحاذاة Corpus ، ووضع ملفات TextGrid في [preprocounder_data_path] مثل المعالجة المسبقة_data/aishell3/textGrid/.
أخيرًا ، قم بتشغيل البرنامج النصي المسبق
python3 preprocess.py config/AISHELL3/preprocess.yamlفضلاً عن ذلك:
تدريب النموذج
python3 train.py -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml لوحظ: إذا وجدت أن فقدان PHNCLS لا يبدو أنه يتجه لأسفل أو غير ملحوظ ، فحاول تعديلًا يدويًا في الرسوم الرمزية في النص/الرموز.
(اختياري) استخدام Tensorboard
tensorboard --logdir output/log/AISHELL3للدفعة
python3 synthesize.py --source synbatch_chinese.txt --restore_step 250000 --mode batch -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml لعزب
# For Mandarin
python3 synthesize.py --text "清华大学人机语音交互实验室,聚焦人工智能场景下的智能语音交互技术研究。 " --ref [REF_SPEECH_PATH.wav] --restore_step 250000 --mode single -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml
# For English
python3 synthesize.py --text " Human Computer Speech Interaction Lab at Tsinghua University, targets artificial intelligence technologies for smart voice user interface. " --ref [REF_SPEECH_PATH.wav] --restore_step 250000 --mode single -p config/LibriTTS/preprocess.yaml -m config/LibriTTS/model.yaml -t config/LibriTTS/train.yaml @misc{zhou2022content,
title={Content-Dependent Fine-Grained Speaker Embedding for Zero-Shot Speaker Adaptation in Text-to-Speech Synthesis},
author={Zhou, Yixuan and Song, Changhe and Li, Xiang and Zhang, Luwen and Wu, Zhiyong and Bian, Yanyao and Su, Dan and Meng, Helen},
year={2022},
eprint={2204.00990},
archivePrefix={arXiv},
primaryClass={eess.AS}
}