Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.base
Commits
d3a567b1
Commit
d3a567b1
authored
Jan 11, 2019
by
Pavel KORSHUNOV
Browse files
correcting bug when using split_by_client flag
parent
a11ff4bf
Pipeline
#25848
passed with stage
in 17 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/tools/extractor.py
View file @
d3a567b1
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment