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