mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
82bce0fbb0
commit
e9f3b3efa7
Binary file not shown.
Binary file not shown.
@ -663,6 +663,7 @@ def main():
|
||||
|
||||
logging.info("About to create model")
|
||||
model = get_transducer_model(params)
|
||||
print(model)
|
||||
|
||||
if params.model_name:
|
||||
load_checkpoint(f"{params.exp_dir}/{params.model_name}", model)
|
||||
@ -757,7 +758,7 @@ def main():
|
||||
torch.load(lg_filename, map_location=device)
|
||||
)
|
||||
decoding_graph.scores *= params.ngram_lm_scale
|
||||
else:
|
||||
else
|
||||
word_table = None
|
||||
decoding_graph = k2.trivial_graph(params.vocab_size - 1, device=device)
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user