Commit 5a21e60d authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV

Merge branch 'fixbug' into 'master'

Correcting bug when using split_training_data_by_client flag in extractor

See merge request !57
parents a11ff4bf d3a567b1
Pipeline #25854 passed with stages
in 7 minutes and 35 seconds
......@@ -58,7 +58,7 @@ def train_extractor(extractor, preprocessor, allow_missing_files=False, force=Fa
bob.io.base.create_directories_safe(os.path.dirname(fs.extractor_file))
# read training files
train_files = fs.training_list(
'preprocessed', 'train_extractor', combined=~extractor.split_training_data_by_client)
'preprocessed', 'train_extractor', combined=not extractor.split_training_data_by_client)
train_data = read_preprocessed_data(
train_files, preprocessor, extractor.split_training_data_by_client, allow_missing_files)
if extractor.split_training_data_by_client:
......
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