游雁
2023-11-08 d233ecd49ed90ff791534d3e0debf2c8eed04cef
egs/aishell/transformer/utils/prepare_checkpoint.py
@@ -16,3 +16,4 @@
    except BaseException:
        raise BaseException(f"Please download pretrain model from ModelScope firstly.")
    shutil.copy(os.path.join(checkpoint_dir, checkpoint_name), os.path.join(pretrained_model_path, "model.pb"))
    shutil.copy(os.path.join(checkpoint_dir, "config.yaml"), os.path.join(pretrained_model_path, "config.yaml"))