From 9c561fe20fe6e3e54be9ab65c539f6e45fe6f127 Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Wed, 17 Feb 2021 13:33:31 +0100
Subject: [PATCH] The scoring in the LFW protocols are sparse

---
 bob/bio/face/config/database/lfw_restricted.py   | 3 ++-
 bob/bio/face/config/database/lfw_unrestricted.py | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bob/bio/face/config/database/lfw_restricted.py b/bob/bio/face/config/database/lfw_restricted.py
index 95b8bce3..06849996 100644
--- a/bob/bio/face/config/database/lfw_restricted.py
+++ b/bob/bio/face/config/database/lfw_restricted.py
@@ -24,5 +24,6 @@ database = DatabaseConnector(
         enroller_training_options={
             "world_type": "restricted"
         },  # 'subworld' : 'twofolds'
-    )
+    ),
+    allow_scoring_with_all_biometric_references=False,
 )
diff --git a/bob/bio/face/config/database/lfw_unrestricted.py b/bob/bio/face/config/database/lfw_unrestricted.py
index 1a14b41d..39ebafb4 100644
--- a/bob/bio/face/config/database/lfw_unrestricted.py
+++ b/bob/bio/face/config/database/lfw_unrestricted.py
@@ -24,5 +24,6 @@ database = DatabaseConnector(
         enroller_training_options={
             "world_type": "unrestricted"
         },  # 'subworld' : 'twofolds'
-    )
+    ),
+    allow_scoring_with_all_biometric_references=False,
 )
-- 
GitLab