Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony Larcher
sidekit
Commits
f404bddb
Commit
f404bddb
authored
Apr 26, 2021
by
Anthony Larcher
Browse files
cleaning
parent
f95e0411
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnet/xvector.py
View file @
f404bddb
...
...
@@ -516,12 +516,12 @@ class Xtractor(torch.nn.Module):
(
"lin_be"
,
torch
.
nn
.
Linear
(
in_features
=
5120
,
out_features
=
self
.
embedding_size
,
bias
=
False
)),
(
"bn_be"
,
torch
.
nn
.
BatchNorm1d
(
self
.
embedding_size
))
#
("bn_be", torch.nn.BatchNorm1d(self.embedding_size))
]))
#self.before_speaker_embedding = torch.nn.Linear(in_features = 5120,
# out_features = self.embedding_size)
self
.
stat_pooling
=
AttentivePooling
(
256
,
80
,
global_context
=
True
)
self
.
stat_pooling
=
AttentivePooling
(
self
.
embedding_size
,
80
,
global_context
=
True
)
self
.
loss
=
loss
if
self
.
loss
==
"aam"
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment