run_sedit_en.sh 988 字节
Newer Older
P
pfZhu 已提交
1
# 纯英文的语音编辑
P
pfZhu 已提交
2 3 4
# 将p243_new对应的原始语音: For that reason cover should not be given. 编辑成'for that reason cover is impossible to be given.'对应的语音

python inference.py \
P
pfZhu 已提交
5 6 7 8 9 10 11
--task_name edit \
--model_name paddle_checkpoint_en \
--uid p243_new \
--new_str 'for that reason cover is impossible to be given.' \
--prefix ./prompt/dev/ \
--source_language english \
--target_language english \
P
pfZhu 已提交
12
--output_name pred.wav \
P
pfZhu 已提交
13 14 15 16 17 18 19 20 21
--voc pwgan_aishell3 \
--voc_config download/pwg_aishell3_ckpt_0.5/default.yaml \
--voc_ckpt download/pwg_aishell3_ckpt_0.5/snapshot_iter_1000000.pdz \
--voc_stat download/pwg_aishell3_ckpt_0.5/feats_stats.npy \
--am fastspeech2_ljspeech \
--am_config download/fastspeech2_nosil_ljspeech_ckpt_0.5/default.yaml \
--am_ckpt download/fastspeech2_nosil_ljspeech_ckpt_0.5/snapshot_iter_100000.pdz \
--am_stat download/fastspeech2_nosil_ljspeech_ckpt_0.5/speech_stats.npy \
--phones_dict download/fastspeech2_nosil_ljspeech_ckpt_0.5/phone_id_map.txt