From 25a59443978b76d60c2cdac19731dec92d327f08 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Wed, 31 Oct 2018 15:18:28 +0100 Subject: [PATCH] [databases][avspoof] Add missing ouput name mapping for class --- advanced/databases/avspoof/4.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/advanced/databases/avspoof/4.py b/advanced/databases/avspoof/4.py index 1b5a45f..d39daa2 100644 --- a/advanced/databases/avspoof/4.py +++ b/advanced/databases/avspoof/4.py @@ -391,6 +391,11 @@ class SimpleAntispoofing(View): per "template_id". """ + def __init__(self): + super(SimpleAntispoofing, self) + self.output_member_map = {'class': 'cls'} + + def index(self, root_folder, parameters): Entry = namedtuple('Entry', ['cls', 'client_id', 'attack_type', 'file_id', 'speech']) -- GitLab