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
559eb5e5de
commit
69bf6b5b0e
Binary file not shown.
@ -661,7 +661,7 @@ def main():
|
|||||||
model = get_transducer_model(params)
|
model = get_transducer_model(params)
|
||||||
|
|
||||||
if params.model_name:
|
if params.model_name:
|
||||||
load_checkpoint(f"{params.exp_dir}/epoch-{params.epoch}.pt", model)
|
load_checkpoint(f"{params.exp_dir}/{params.model_name}", model)
|
||||||
else:
|
else:
|
||||||
if not params.use_averaged_model:
|
if not params.use_averaged_model:
|
||||||
if params.iter > 0:
|
if params.iter > 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user