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
8baea390fa
commit
b303ca3d7d
Binary file not shown.
@ -1605,6 +1605,9 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
adapter_param.append(p)
|
||||
|
||||
for n, p in model.named_parameters():
|
||||
if 'joiner' in n or 'simple' in n or 'ctc' in n:
|
||||
p.requires_grad = True
|
||||
else:
|
||||
p.requires_grad = False
|
||||
|
||||
#print(adapter_names)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user