From 37dfb5862c19a9bfed30a34c6c491c9807f8eb1c Mon Sep 17 00:00:00 2001
From: Manuel Gunther <siebenkopf@googlemail.com>
Date: Wed, 19 Jul 2017 17:25:09 -0600
Subject: [PATCH] Corrected INFO log when training enroller

---
 bob/bio/base/tools/algorithm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/bio/base/tools/algorithm.py b/bob/bio/base/tools/algorithm.py
index bcf6a470..0288b41a 100644
--- a/bob/bio/base/tools/algorithm.py
+++ b/bob/bio/base/tools/algorithm.py
@@ -191,7 +191,7 @@ def train_enroller(algorithm, extractor, allow_missing_files = False, force = Fa
 
     # load training data
     train_files = fs.training_list('projected' if algorithm.use_projected_features_for_enrollment else 'extracted', 'train_enroller', arrange_by_client = True)
-    logger.info("- Enrollment: loading %d enroller training files", len(train_files))
+    logger.info("- Enrollment: loading %d enroller training files of %d identities", sum(len(client_files) for client_files in train_files), len(train_features))
     train_features = read_features(train_files, reader, True, allow_missing_files)
 
     # perform training
-- 
GitLab