Skip to content

Commit

Permalink
Fix typos. (k2-fsa#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Oct 18, 2021
1 parent 53b79fa commit 3effcb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions egs/librispeech/ASR/conformer_ctc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`
Expand Down
7 changes: 0 additions & 7 deletions egs/librispeech/ASR/conformer_ctc/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3effcb4

Please sign in to comment.