jctian98/e2e_lfmmi

aishell1 is incompletely executed

Closed this issue · 3 comments

Hello, please ask the following this contains all the code related to e2e lfmmi, which feels missing when executing (e.g., lfmmi criterion)

Hi. All the code is released in this repo. The LFMMI criterion is here: https://github.com/jctian98/e2e_lfmmi/blob/master/snowfall/warpper/warpper_mmi.py
Please tell me if you feel other things are missing.

Hi. All the code is released in this repo. The LFMMI criterion is here: https://github.com/jctian98/e2e_lfmmi/blob/master/snowfall/warpper/warpper_mmi.py Please tell me if you feel other things are missing.

For example, you have specified relevant parameters in the nt.sh script, but asr_train.py has no corresponding parameter identifiers
a4f740cb6b1805099c76bc270cabec3

asr_train.py: error: unrecognized arguments: --aux-ctc true --aux-ctc-weight 0.5 --aux-ctc-dropout-rate 0.1 --aux-mmi true --aux-mmi-weight 0.5 --aux-mmi-dropout-rate 0.1 --aux-mmi-type mmi --att-scorer-weight 0.0

In addition, args.use_ddp is used in asr.py called by asr_train.py, but the relevant configuration is not specified accordingly

Hi, these arguments are defined here. Maybe we need to check this function is called correctly so these arguments are registered in the argument parser.

group.add_argument(
"--aux-mmi",
type=strtobool,
nargs="?",
default=False,
help="Whether to use mmi as auxiliary task.",
)
group.add_argument(
"--aux-mmi-weight",
default=0.5,
type=float,
help="Weight of auxiliary mmi loss",
)
group.add_argument(
"--aux-mmi-dropout-rate",
default=0.0,
type=float,
help="Dropout rate for auxiliary mmi",
)
group.add_argument(
"--aux-mmi-type",
type=str,
choices=['mmi', 'phonectc'],
default='mmi',
help="LF-MMI or CTC",
)

DDP is the only way to run this repo even if only one GPU is used. I'm sorry I didn't remove this option.