Fix typos. (#85)

This commit is contained in:
Fangjun Kuang 2021-10-18 16:17:14 +08:00 committed by GitHub
parent 53b79fafa7
commit 3effcb4225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View File

@ -50,8 +50,6 @@ in `conformer_ctc/train.py`.
**Caution**: You have to set the parameter `preserve_id` to `True` for `CutMix`.
Search `./conformer_ctc/asr_datamodule.py` for `preserve_id`.
**TODO:** Add doc about how to use the extracted alignment in the other pull-request.
### Step 3: Check your extracted alignments
There is a file `test_ali.py` in `icefall/test` that can be used to test your
@ -69,7 +67,7 @@ $ ./test/test_ali.py
### Step 4: Use your alignments in training
Please refer to `conformer_mmi/train.py` for how usage. Some useful
Please refer to `conformer_mmi/train.py` for usage. Some useful
functions are:
- `load_alignments()`, it loads alignment saved by `conformer_ctc/ali.py`

View File

@ -78,13 +78,6 @@ def get_parser():
help="Should various information be logged in tensorboard.",
)
parser.add_argument(
"--lang-dir",
type=str,
default="data/lang_bpe_5000",
help="lang directory",
)
parser.add_argument(
"--num-epochs",
type=int,