From 734eb826f112e5de96d14b397a4dcccf7ae8439e Mon Sep 17 00:00:00 2001 From: Tiago Freitas Pereira <tiagofrepereira@gmail.com> Date: Wed, 18 Mar 2020 11:00:39 +0100 Subject: [PATCH] Fixed issue in the Checkpoint scoring --- .../base/pipelines/vanilla_biometrics/biometric_algorithm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/bio/base/pipelines/vanilla_biometrics/biometric_algorithm.py b/bob/bio/base/pipelines/vanilla_biometrics/biometric_algorithm.py index 35239aa3..893562b6 100644 --- a/bob/bio/base/pipelines/vanilla_biometrics/biometric_algorithm.py +++ b/bob/bio/base/pipelines/vanilla_biometrics/biometric_algorithm.py @@ -236,11 +236,12 @@ class BiometricAlgorithmCheckpointMixin(CheckpointMixin): scored_sample_set = super()._score_sample_set(sampleset, biometric_references, extractor) # Checkpointing score - path = os.path.join(self.score_dir, str(sampleset.key) + ".txt") + path = os.path.join(self.score_dir, str(sampleset.path) + ".txt") bob.io.base.create_directories_safe(os.path.dirname(path)) delayed_scored_sample = save_scores_four_columns(path, scored_sample_set) scored_sample_set.samples = [delayed_scored_sample] + return scored_sample_set -- GitLab