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
05b681d7d2
commit
45dbc89145
Binary file not shown.
@ -664,7 +664,7 @@ def main():
|
||||
logging.info("About to create model")
|
||||
model = get_transducer_model(params)
|
||||
|
||||
if params.model_name:
|
||||
if '.pt' in params.model_name:
|
||||
load_checkpoint(f"{params.exp_dir}/{params.model_name}", model)
|
||||
else:
|
||||
if not params.use_averaged_model:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user