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
......@@ -152,7 +152,8 @@ def train_enroller(algorithm, extractor, force = False):
bob.io.base.create_directories_safe(os.path.dirname(fs.enroller_file))
# first, load the projector
algorithm.load_projector(fs.projector_file)
if algorithm.requires_projector_training:
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment