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
ddc7fbd2d2
commit
0e08252154
Binary file not shown.
@ -1562,6 +1562,7 @@ def run_adapter(rank, world_size, args, wb=None):
|
|||||||
p.requires_grad = True
|
p.requires_grad = True
|
||||||
else:
|
else:
|
||||||
p.requires_grad = False
|
p.requires_grad = False
|
||||||
|
|
||||||
optimizer_adapter = ScaledAdam(
|
optimizer_adapter = ScaledAdam(
|
||||||
adapter_param,
|
adapter_param,
|
||||||
lr=params.adapter_lr,
|
lr=params.adapter_lr,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user