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
6c1d3aa0d6
commit
fdba1cb6ca
Binary file not shown.
Binary file not shown.
@ -41,8 +41,8 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
super().__init__(args)
|
||||
self.adapters = ResidualAdapterModule()
|
||||
|
||||
for p in self.adapters.parameters():
|
||||
p.data /= 10.
|
||||
#for p in self.adapters.parameters():
|
||||
# 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