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
795bca4b
Commit
795bca4b
authored
Apr 16, 2021
by
Anthony Larcher
Browse files
debug extract
parent
6f9f9cb9
Changes
1
Show whitespace changes
Inline
Side-by-side
nnet/xvector.py
View file @
795bca4b
...
...
@@ -1725,7 +1725,10 @@ def extract_embeddings(idmap_name,
modelset
.
extend
(
mod
*
data
.
shape
[
0
])
segset
.
extend
(
seg
*
data
.
shape
[
0
])
if
sliding_window
:
starts
.
extend
(
numpy
.
arange
(
start
,
start
+
vec
.
shape
[
0
]
*
win_shift
,
win_shift
))
else
:
starts
.
append
[
start
]
embeddings
=
StatServer
()
embeddings
.
modelset
=
numpy
.
array
(
modelset
).
astype
(
'>U'
)
...
...
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