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
0efe2f2171
commit
b1294f55d2
Binary file not shown.
Binary file not shown.
@ -1538,7 +1538,7 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
adapter_names = []
|
||||
adapter_param = []
|
||||
for n, p in model.named_parameters():
|
||||
if 'adapters' in n or 'joiner' in n or 'simple' in n or 'ctc' in n:
|
||||
if 'adapters' in n:# or 'joiner' in n or 'simple' in n or 'ctc' in n:
|
||||
adapter_names.append(n)
|
||||
adapter_param.append(p)
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user