mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 17:42:21 +00:00
Fix typos. (#85)
This commit is contained in:
parent
53b79fafa7
commit
3effcb4225
@ -50,8 +50,6 @@ in `conformer_ctc/train.py`.
|
|||||||
**Caution**: You have to set the parameter `preserve_id` to `True` for `CutMix`.
|
**Caution**: You have to set the parameter `preserve_id` to `True` for `CutMix`.
|
||||||
Search `./conformer_ctc/asr_datamodule.py` for `preserve_id`.
|
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
|
### Step 3: Check your extracted alignments
|
||||||
|
|
||||||
There is a file `test_ali.py` in `icefall/test` that can be used to test your
|
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
|
### 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:
|
functions are:
|
||||||
|
|
||||||
- `load_alignments()`, it loads alignment saved by `conformer_ctc/ali.py`
|
- `load_alignments()`, it loads alignment saved by `conformer_ctc/ali.py`
|
||||||
|
@ -78,13 +78,6 @@ def get_parser():
|
|||||||
help="Should various information be logged in tensorboard.",
|
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(
|
parser.add_argument(
|
||||||
"--num-epochs",
|
"--num-epochs",
|
||||||
type=int,
|
type=int,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user