Add more comments.

This commit is contained in:
Fangjun Kuang 2021-09-30 12:15:47 +08:00
parent cdcd6691b8
commit a133571dc7
2 changed files with 11 additions and 2 deletions

View File

@ -1,9 +1,11 @@
#!/usr/bin/env bash
#
# Copyright 2021 Xiaomi Corp. (authors: Fangjun Kuang)
#
# This script is the entry point to start model training
# with multi-node multi-GPU.
#
# Read the usage instructions for how to run this script.
# Read the usage instructions below for how to run this script.
set -e
@ -20,6 +22,9 @@ master_port=1234
#
# Use ./conformer_ctc/train.py --help to see more
#
# If you add more parameters here, remember to append them to the
# end of this file.
#
max_duration=200
bucketing_sampler=1
full_libri=1

View File

@ -64,7 +64,11 @@ def get_parser():
"--use-multi-node",
type=str2bool,
default=False,
help="True if using multi-node multi-GPU.",
help="""True if using multi-node multi-GPU.
You are not supposed to set it directly.
See ./conformer_ctc/run-multi-node-multi-gpu.sh
for details.
""",
)
parser.add_argument(