Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.gmm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.bio.gmm
Commits
df73f548
There was a problem fetching the pipeline summary.
Commit
df73f548
authored
8 years ago
by
Vedrana KRIVOKUCA
Browse files
Options
Downloads
Patches
Plain Diff
Clean up IVector_BioHash
parent
e956fd84
Branches
bh_voice_gmm
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/gmm/algorithm/IVector_BioHash.py
+6
-17
6 additions, 17 deletions
bob/bio/gmm/algorithm/IVector_BioHash.py
with
6 additions
and
17 deletions
bob/bio/gmm/algorithm/IVector_BioHash.py
+
6
−
17
View file @
df73f548
...
...
@@ -8,17 +8,6 @@ import numpy
import
bob.bio.base
import
scipy
def
load_algorithm
(
algorithm
):
if
algorithm
is
None
:
raise
ValueError
(
"
Please provide the name of a valid algorithm.
"
)
elif
isinstance
(
algorithm
,
str
):
algorithm
=
bob
.
bio
.
base
.
load_resource
(
algorithm
,
'
algorithm
'
)
elif
isinstance
(
algorithm
,
Algorithm
):
algorithm
=
algorithm
else
:
raise
ValueError
(
"
The provided algorithm type is not understood.
"
)
return
algorithm
class
IVector_BioHash
(
IVector
):
...
...
@@ -29,18 +18,18 @@ class IVector_BioHash (IVector):
IVector
.
__init__
(
self
,
requires_seed
=
True
,
subspace_dimension_of_t
=
subspace_dimension_of_t
,
# dim of ivector
- try setting to 400
subspace_dimension_of_t
=
subspace_dimension_of_t
,
# dim
ension
of ivector
update_sigma
=
True
,
tv_training_iterations
=
25
,
# Number of EM iterations for the TV training
number_of_gaussians
=
256
,
training_threshold
=
0.0
,
use_lda
=
use_lda
,
# F
use_wccn
=
use_wccn
,
# F
use_plda
=
use_plda
,
# F
use_lda
=
use_lda
,
use_wccn
=
use_wccn
,
use_plda
=
use_plda
,
lda_dim
=
50
,
plda_dim_F
=
10
,
# remove
plda_dim_F
=
10
,
plda_dim_G
=
50
,
plda_training_iterations
=
200
,
# remove
plda_training_iterations
=
200
,
**
kwargs
)
# Initializing attributes of child class, IVector_BioHash
self
.
length
=
length
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment