Skip to content
Snippets Groups Projects
Commit 9fc97be0 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed command line option in test

parent 2c98e036
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ def test_gmm_parallel():
'-p', 'dummy',
'-e', 'dummy',
'-a', 'bob.bio.gmm.algorithm.GMM(2, 2, 2)', '--import', 'bob.bio.gmm', 'bob.io.image',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '-R',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '--stop-on-failure',
'--clean-intermediate',
'--zt-norm',
'-s', 'test_gmm_parallel',
......@@ -130,7 +130,7 @@ def test_isv_parallel():
'-p', 'dummy',
'-e', 'dummy',
'-a', 'bob.bio.gmm.algorithm.ISV(10, number_of_gaussians=2, kmeans_training_iterations=2, gmm_training_iterations=2, isv_training_iterations=2)', '--import', 'bob.bio.gmm', 'bob.io.image',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '-R',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '--stop-on-failure',
'--clean-intermediate',
'--zt-norm',
'-s', 'test_isv_parallel',
......@@ -172,7 +172,7 @@ def test_ivector_parallel():
'-p', 'dummy',
'-e', 'dummy',
'-a', 'bob.bio.gmm.algorithm.IVector(10, number_of_gaussians=2, kmeans_training_iterations=2, gmm_training_iterations=2, tv_training_iterations=2)', '--import', 'bob.bio.gmm', 'bob.io.image',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '-R',
'-g', 'bob.bio.base.grid.Grid(grid = "local", number_of_parallel_processes = 2, scheduler_sleep_time = 0.1)', '-G', test_database, '--run-local-scheduler', '--stop-on-failure',
'--clean-intermediate',
'--zt-norm',
'-s', 'test_ivector_parallel',
......
......@@ -12,7 +12,7 @@ def train_isv(algorithm, force=False):
fs = FileSelector.instance()
if utils.check_file(fs.projector_file, force, 800):
logger.info("ISV training: Skipping ISV training since '%s' already exists", fs.isv_file)
logger.info("ISV training: Skipping ISV training since '%s' already exists", fs.projector_file)
else:
# read UBM into the ISV class
algorithm.load_ubm(fs.ubm_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment