嘉渊
2023-05-15 eb43576ed00902a5c0d5c05f5b50f9eebda3a0e1
funasr/bin/asr_inference.py
@@ -352,7 +352,10 @@
        raise NotImplementedError("Word LM is not implemented")
    if ngpu > 1:
        raise NotImplementedError("only single GPU decoding is supported")
    for handler in logging.root.handlers[:]:
        logging.root.removeHandler(handler)
    logging.basicConfig(
        level=log_level,
        format="%(asctime)s (%(module)s:%(lineno)d) %(levelname)s: %(message)s",