Skip to content
Snippets Groups Projects
Commit 3207a3c2 authored by Elie KHOURY's avatar Elie KHOURY
Browse files

Revert "reverse changes in bob/bio/base/tools/algorithm.py"

This reverts commit a256995b.
parent a256995b
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,8 @@ def train_enroller(algorithm, extractor, force = False): ...@@ -152,7 +152,8 @@ def train_enroller(algorithm, extractor, force = False):
bob.io.base.create_directories_safe(os.path.dirname(fs.enroller_file)) bob.io.base.create_directories_safe(os.path.dirname(fs.enroller_file))
# first, load the projector # first, load the projector
algorithm.load_projector(fs.projector_file) if algorithm.requires_projector_training:
algorithm.load_projector(fs.projector_file)
# load training data # load training data
train_files = fs.training_list('projected' if algorithm.use_projected_features_for_enrollment else 'extracted', 'train_enroller', arrange_by_client = True) train_files = fs.training_list('projected' if algorithm.use_projected_features_for_enrollment else 'extracted', 'train_enroller', arrange_by_client = True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment