From 9fc97be05d3864011dcff131718c38d625bd2317 Mon Sep 17 00:00:00 2001 From: Manuel Guenther <manuel.guenther@idiap.ch> Date: Tue, 16 Jun 2015 10:51:45 +0200 Subject: [PATCH] Fixed command line option in test --- bob/bio/gmm/test/test_scripts.py | 6 +++--- bob/bio/gmm/tools/isv.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bob/bio/gmm/test/test_scripts.py b/bob/bio/gmm/test/test_scripts.py index 6e06e3d..af81c56 100644 --- a/bob/bio/gmm/test/test_scripts.py +++ b/bob/bio/gmm/test/test_scripts.py @@ -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', diff --git a/bob/bio/gmm/tools/isv.py b/bob/bio/gmm/tools/isv.py index 2bac248..eba6062 100644 --- a/bob/bio/gmm/tools/isv.py +++ b/bob/bio/gmm/tools/isv.py @@ -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) -- GitLab