Skip to content
Snippets Groups Projects
Commit d3a567b1 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

correcting bug when using split_by_client flag

parent a11ff4bf
No related branches found
No related tags found
1 merge request!57Correcting bug when using split_training_data_by_client flag in extractor
Pipeline #25848 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment