From 6b04ca51f4c7a3600f340e0f19768c38fee9ecdb Mon Sep 17 00:00:00 2001 From: zxcd <228587199@qq.com> Date: Tue, 13 May 2025 09:00:00 +0000 Subject: [PATCH] fix pwgan --- examples/csmsc/voc1/local/synthesize.sh | 2 +- examples/csmsc/voc1/local/synthesize_e2e.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/csmsc/voc1/local/synthesize.sh b/examples/csmsc/voc1/local/synthesize.sh index 145557b3d..890d4e0fc 100755 --- a/examples/csmsc/voc1/local/synthesize.sh +++ b/examples/csmsc/voc1/local/synthesize.sh @@ -11,4 +11,4 @@ python3 ${BIN_DIR}/../synthesize.py \ --checkpoint=${train_output_path}/checkpoints/${ckpt_name} \ --test-metadata=dump/test/norm/metadata.jsonl \ --output-dir=${train_output_path}/test \ - --generator-type=pwgan + --generator-type=pwgan || exit -1 diff --git a/examples/csmsc/voc1/local/synthesize_e2e.sh b/examples/csmsc/voc1/local/synthesize_e2e.sh index 7e1a6e8b7..e217622f1 100644 --- a/examples/csmsc/voc1/local/synthesize_e2e.sh +++ b/examples/csmsc/voc1/local/synthesize_e2e.sh @@ -19,4 +19,4 @@ python3 ${BIN_DIR}/../../synthesize_e2e.py \ --text=${BIN_DIR}/../../assets/sentences.txt \ --output_dir=${train_output_path}/test_e2e \ --phones_dict=dump/phone_id_map.txt \ - --inference_dir=${train_output_path}/inference \ No newline at end of file + --inference_dir=${train_output_path}/inference || exit -1