pull/3038/head
liangym 3 years ago
parent 84002432e2
commit bdb7312ef1

@ -2,9 +2,9 @@
source path.sh source path.sh
gpus=7 gpus=0
stage=5 stage=0
stop_stage=5 stop_stage=100
source ${MAIN_ROOT}/utils/parse_options.sh || exit 1 source ${MAIN_ROOT}/utils/parse_options.sh || exit 1

@ -3,13 +3,13 @@
set -e set -e
source path.sh source path.sh
gpus=7 gpus=0
stage=2 stage=0
stop_stage=2 stop_stage=100
conf_path=conf/default.yaml conf_path=conf/default.yaml
train_output_path=exp/default train_output_path=exp/default
ckpt_name=snapshot_iter_625000.pdz ckpt_name=snapshot_iter_2500000.pdz
# with the following command, you can choose the stage range you want to run # with the following command, you can choose the stage range you want to run
# such as `./run.sh --stage 0 --stop-stage 0` # such as `./run.sh --stage 0 --stop-stage 0`

@ -216,12 +216,6 @@ def main():
parser.add_argument( parser.add_argument(
"--ngpu", type=int, default=1, help="if ngpu == 0, use cpu.") "--ngpu", type=int, default=1, help="if ngpu == 0, use cpu.")
parser.add_argument(
"--cut-sil",
type=str2bool,
default=True,
help="whether cut sil in the edge of audio")
args = parser.parse_args() args = parser.parse_args()
if args.ngpu == 0: if args.ngpu == 0:

Loading…
Cancel
Save