0. 说明
0.1. 相关代码
0.1.1. 项目分别在两个文件夹里:
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_librispeech
0.1.2. 其中具体的提取PPG的代码:
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1/extract_ppg_generate_LJSpeech_restore.py
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_librispeech/extract_ppg_generate_LJSpeech_restore.py
0.1.3. 或者参看这两个:
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1/inference_and_findA_and_calculateCE_cbhg_Multi_part2_cn.py
- /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_librispeech/inference_and_findA_and_calculateCE_cbhg_Multi_part2_en.py
0.2. 相关逻辑说明
0.2.1 PPG调用
具体的中英文PPG的维度, 拼接的方法等, 可以参看这个, 只是仿照写代码, 不需要调用:
- /datapool/home/hujk17/ppg_decode_spec_10ms_sch_Multi/dataload_Multi.py
0.2.2 ckpt路径
其中过程中用到的模型, ckpt路径就用代码中写死的就可以, 比如:
0.2.3 PPG维度
PPG的维度用的是lh和sch提供的ForceAlignment数据, 但是维度可能比给的大一(数行数 数错了):
- 中文PPG维度218
- 英文PPG维度347
1. PPG合成样例
ppt的16页:
https://drive.google.com/file/d/1wmhPH7OICdpjm6FVQk72kYi11ePEjZd2/view?usp=sharing