0. 说明

0.1. 相关代码

0.1.1. 项目分别在两个文件夹里: 

  1. /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1
  2. /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_librispeech

0.1.2. 其中具体的提取PPG的代码:

  1. /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1/extract_ppg_generate_LJSpeech_restore.py
  2. /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_librispeech/extract_ppg_generate_LJSpeech_restore.py

0.1.3. 或者参看这两个:

  1. /datapool/home/hujk17/ppgs_extractor_10ms_sch_lh_aishell1/inference_and_findA_and_calculateCE_cbhg_Multi_part2_cn.py
  2. /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的维度, 拼接的方法等, 可以参看这个, 只是仿照写代码, 不需要调用:

  1. /datapool/home/hujk17/ppg_decode_spec_10ms_sch_Multi/dataload_Multi.py

ppgs_extractor_10ms_sch_lh_xx封装接口

0.2.2 ckpt路径

其中过程中用到的模型, ckpt路径就用代码中写死的就可以, 比如:

ppgs_extractor_10ms_sch_lh_xx封装接口

0.2.3 PPG维度

PPG的维度用的是lh和sch提供的ForceAlignment数据, 但是维度可能比给的大一(数行数 数错了):

  1. 中文PPG维度218
  2. 英文PPG维度347

1. PPG合成样例

ppt的16页:

https://drive.google.com/file/d/1wmhPH7OICdpjm6FVQk72kYi11ePEjZd2/view?usp=sharing

相关文章:

  • 2022-12-23
  • 2021-07-05
  • 2022-02-27
  • 2021-12-09
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案