From a66e74b92f2f41855e0422420dfb06ebe7c6889f Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 14 Oct 2022 12:23:47 +0800 Subject: [PATCH] Fix links in the doc (#619) --- docs/source/conf.py | 2 +- egs/librispeech/ASR/pruned_transducer_stateless3/pretrained.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index afac002d4..221d9d734 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -74,7 +74,7 @@ html_context = { "github_user": "k2-fsa", "github_repo": "icefall", "github_version": "master", - "conf_py_path": "/icefall/docs/source/", + "conf_py_path": "/docs/source/", } todo_include_todos = True diff --git a/egs/librispeech/ASR/pruned_transducer_stateless3/pretrained.py b/egs/librispeech/ASR/pruned_transducer_stateless3/pretrained.py index c15d65ded..19b636a23 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless3/pretrained.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless3/pretrained.py @@ -271,7 +271,7 @@ def main(): logging.info(f"device: {device}") logging.info("Creating model") - model = get_transducer_model(params) + model = get_transducer_model(params, enable_giga=False) num_param = sum([p.numel() for p in model.parameters()]) logging.info(f"Number of model parameters: {num_param}")