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
e825f6c318
commit
f06b2a4792
Binary file not shown.
@ -685,6 +685,8 @@ def main():
|
||||
|
||||
if '.pt' in params.model_name:
|
||||
load_checkpoint(f"{params.exp_dir}/{params.model_name}", model)
|
||||
|
||||
'''
|
||||
elif 'lora' in params.model_name:
|
||||
load_checkpoint(f"{params.exp_dir}/../d2v-base-T.pt", model)
|
||||
|
||||
@ -701,7 +703,7 @@ def main():
|
||||
lora.lora.load_state_dict(lora_param)
|
||||
lora.lora.to(device)
|
||||
logging.info("lora params load done")
|
||||
|
||||
'''
|
||||
else:
|
||||
if not params.use_averaged_model:
|
||||
if params.iter > 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user