Source code for espnet2.bin.slu_train

#!/usr/bin/env python3
from espnet2.tasks.slu import SLUTask


[docs]def get_parser(): parser = SLUTask.get_parser() return parser
[docs]def main(cmd=None): r"""SLU training. Example: % python slu_train.py slu --print_config --optim adadelta \ > conf/train_slu.yaml % python slu_train.py --config conf/train_slu.yaml """ SLUTask.main(cmd=cmd)
if __name__ == "__main__": main()