From a256995b8d16846b185195ddabe774f71df12102 Mon Sep 17 00:00:00 2001 From: Elie KHOURY <elie.khoury@idiap.ch> Date: Mon, 6 Jul 2015 08:55:20 +0200 Subject: [PATCH] reverse changes in bob/bio/base/tools/algorithm.py --- bob/bio/base/tools/algorithm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bob/bio/base/tools/algorithm.py b/bob/bio/base/tools/algorithm.py index 86443e51..8c53028b 100644 --- a/bob/bio/base/tools/algorithm.py +++ b/bob/bio/base/tools/algorithm.py @@ -152,8 +152,7 @@ def train_enroller(algorithm, extractor, force = False): bob.io.base.create_directories_safe(os.path.dirname(fs.enroller_file)) # first, load the projector - if algorithm.requires_projector_training: - algorithm.load_projector(fs.projector_file) + algorithm.load_projector(fs.projector_file) # load training data train_files = fs.training_list('projected' if algorithm.use_projected_features_for_enrollment else 'extracted', 'train_enroller', arrange_by_client = True) -- GitLab