from local

This commit is contained in:
dohe0342 2022-12-30 11:18:32 +09:00
parent e9f3b3efa7
commit e4e098470b
2 changed files with 2 additions and 1 deletions

View File

@ -663,6 +663,7 @@ def main():
logging.info("About to create model")
model = get_transducer_model(params)
print(model)
if params.model_name:
@ -758,7 +759,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: