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
7e7e3105e0
commit
0ce1bce244
Binary file not shown.
@ -42,7 +42,7 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
self.adapters = ResidualAdapterModule()
|
||||
|
||||
for p in self.adapters.parameters():
|
||||
p.data /= 10
|
||||
p.data /= 10.
|
||||
#p.data = nn.Parameter(torch.zeros(p.size()).to('cuda'))
|
||||
#p.data = nn.Parameter(torch.randn(p.size()).to('cuda')/20.)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user