Skip to content
Snippets Groups Projects
Commit aeef80cd authored by Yannick DAYER's avatar Yannick DAYER
Browse files

[setup] cleaning config and entry-points

parent 04457864
Branches
No related tags found
1 merge request!26Python implementation of GMM
Pipeline #58372 passed
#!/usr/bin/env python
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.GMMRegular(number_of_gaussians=512)
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.ISV(
# ISV parameters
subspace_dimension_of_u=160,
# GMM parameters
number_of_gaussians=512,
)
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.IVector(
# IVector parameters
subspace_dimension_of_t=400,
update_sigma=True,
tv_training_iterations=3, # Number of EM iterations for the TV training
# GMM parameters
number_of_gaussians=512,
)
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.IVector(
# IVector parameters
subspace_dimension_of_t=100,
update_sigma=True,
tv_training_iterations=25, # Number of EM iterations for the TV training
# GMM parameters
number_of_gaussians=256,
use_lda=True,
use_wccn=True,
use_plda=True,
lda_dim=50,
plda_dim_F=50,
plda_dim_G=50,
plda_training_iterations=200,
)
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.IVector(
# IVector parameters
subspace_dimension_of_t=100,
update_sigma=True,
tv_training_iterations=25, # Number of EM iterations for the TV training
# GMM parameters
number_of_gaussians=256,
use_plda=True,
plda_dim_F=50,
plda_dim_G=50,
plda_training_iterations=200,
)
#!/usr/bin/env python
import bob.bio.gmm
algorithm = bob.bio.gmm.algorithm.JFA(
# JFA Training
subspace_dimension_of_u=2, # U subspace dimension
subspace_dimension_of_v=2, # V subspace dimension
jfa_training_iterations=10, # Number of EM iterations for the JFA training
# GMM training
number_of_gaussians=512,
)
......@@ -98,17 +98,9 @@ setup(
"console_scripts": [],
"bob.bio.database": [],
"bob.bio.preprocessor": [],
"bob.bio.extractor": [
"dummy2d = bob.bio.gmm.test.dummy.extractor:extractor", # for test purposes only
],
"bob.bio.extractor": [],
"bob.bio.algorithm": [
"gmm = bob.bio.gmm.config.algorithm.gmm:algorithm",
"gmm-regular = bob.bio.gmm.config.algorithm.gmm_regular:algorithm",
"jfa = bob.bio.gmm.config.algorithm.jfa:algorithm",
"isv = bob.bio.gmm.config.algorithm.isv:algorithm",
"ivector-cosine = bob.bio.gmm.config.algorithm.ivector_cosine:algorithm",
"ivector-plda = bob.bio.gmm.config.algorithm.ivector_plda:algorithm",
"ivector-lda-wccn-plda = bob.bio.gmm.config.algorithm.ivector_lda_wccn_plda:algorithm",
],
},
# Classifiers are important if you plan to distribute this package through
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment