Commit d3a567b1 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV

correcting bug when using split_by_client flag

parent a11ff4bf
Pipeline #25848 passed with stage
in 17 minutes and 36 seconds
...@@ -58,7 +58,7 @@ def train_extractor(extractor, preprocessor, allow_missing_files=False, force=Fa ...@@ -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)) bob.io.base.create_directories_safe(os.path.dirname(fs.extractor_file))
# read training files # read training files
train_files = fs.training_list( 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_data = read_preprocessed_data(
train_files, preprocessor, extractor.split_training_data_by_client, allow_missing_files) train_files, preprocessor, extractor.split_training_data_by_client, allow_missing_files)
if extractor.split_training_data_by_client: 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