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
Ambuj Mehrish
sidekit
Commits
41957818
Commit
41957818
authored
Mar 28, 2019
by
Anthony Larcher
Browse files
Merge branch 'master' of
https://git-lium.univ-lemans.fr/Larcher/sidekit
parents
5b4f0582
05c02acb
Changes
1
Hide whitespace changes
Inline
Side-by-side
nnet/xvector.py
View file @
41957818
...
...
@@ -447,7 +447,8 @@ def extract_idmap(args, device_ID, segment_indices, fs_params, idmap_name, outpu
Function that takes a model and an idmap and extract all x-vectors based on this model
and return a StatServer containing the x-vectors
"""
device
=
torch
.
device
(
"cuda:{}"
.
format
(
device_ID
))
#device = torch.device("cuda:{}".format(device_ID))
device
=
torch
.
device
(
'cpu'
)
# Create the dataset
tmp_idmap
=
IdMap
(
idmap_name
)
...
...
Write
Preview
Markdown
is supported
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