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
bfbef65630
commit
7350e56647
Binary file not shown.
@ -684,6 +684,8 @@ def load_checkpoint_if_available(
|
||||
filename = params.exp_dir / f"checkpoint-{params.start_batch}.pt"
|
||||
elif params.start_epoch > 1:
|
||||
filename = params.exp_dir / f"epoch-{params.start_epoch-1}.pt"
|
||||
elif params.add_adapter:
|
||||
filename = params.exp_dir / f"d2v-base-T.pt"
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user