Commit 82f9a36e authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'logging' into 'master'

improve logging message of projection training

See merge request !26
parents 8dae3fb9 78e3ba7b
Pipeline #17070 passed with stages
in 30 minutes and 15 seconds
......@@ -53,8 +53,8 @@ def train_projector(algorithm, extractor, allow_missing_files=False, force=False
logger.info("- Projection: loading training data")
train_files = fs.training_list('extracted', 'train_projector')
train_features = read_features(train_files, extractor, True, allow_missing_files)
logger.info("- Projection: training projector '%s' using %d training files: ", fs.projector_file,
len(train_files))
logger.info("- Projection: training projector '%s' using %d real files and %d attack files: ", fs.projector_file,
len(train_files[0]), len(train_files[1]))
# perform training
algorithm.train_projector(train_features, fs.projector_file)
......
Markdown is supported
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