Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
855851d3
Commit
855851d3
authored
Nov 26, 2020
by
Tiago de Freitas Pereira
Browse files
Used the DelayedSampleSetCached in the BioAlgorithmCheckpointWrapper
parent
9b372043
Pipeline
#46116
passed with stage
in 11 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/pipelines/vanilla_biometrics/wrappers.py
View file @
855851d3
from
bob.pipelines
import
DelayedSample
,
SampleSet
,
Sample
,
DelayedSampleSet
from
bob.pipelines
import
(
DelayedSample
,
SampleSet
,
Sample
,
DelayedSampleSet
,
DelayedSampleSetCached
,
)
import
bob.io.base
import
os
import
dask
...
...
@@ -176,7 +182,7 @@ class BioAlgorithmCheckpointWrapper(BioAlgorithm):
self
.
write_scores
(
scored_sample_set
.
samples
,
path
)
parent
=
scored_sample_set
scored_sample_set
=
DelayedSampleSet
(
scored_sample_set
=
DelayedSampleSet
Cached
(
functools
.
partial
(
_load
,
path
),
parent
=
parent
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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