Commit 855851d3 authored by Tiago de Freitas Pereira's avatar 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
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 = DelayedSampleSetCached(
functools.partial(_load, path), parent=parent
)
......
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