conex / espnet2 /bin /enh_train.py
tobiasc's picture
Initial commit
ad16788
raw
history blame
472 Bytes
#!/usr/bin/env python3
from espnet2.tasks.enh import EnhancementTask
def get_parser():
parser = EnhancementTask.get_parser()
return parser
def main(cmd=None):
r"""Enhancemnet frontend training.
Example:
% python enh_train.py asr --print_config --optim adadelta \
> conf/train_enh.yaml
% python enh_train.py --config conf/train_enh.yaml
"""
EnhancementTask.main(cmd=cmd)
if __name__ == "__main__":
main()