From e956fd84dfdd01994b8211b22e21c6c9646a972d Mon Sep 17 00:00:00 2001 From: Vedrana KRIVOKUCA <vkrivokuca@italix32.idiap.ch> Date: Thu, 6 Apr 2017 09:16:18 +0200 Subject: [PATCH] Fix small bug in code used to take the user seed as input in the ST scenario --- bob/bio/gmm/algorithm/IVector_BioHash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/bio/gmm/algorithm/IVector_BioHash.py b/bob/bio/gmm/algorithm/IVector_BioHash.py index 4c5d9df..008c079 100644 --- a/bob/bio/gmm/algorithm/IVector_BioHash.py +++ b/bob/bio/gmm/algorithm/IVector_BioHash.py @@ -55,7 +55,7 @@ class IVector_BioHash (IVector): return biohash.create_biohash(ivector, self.length, user_seed) else: # stolen token scenario, so user_seed will be some randomly generated number (same for every person in the database), specified in config file print "STOLEN TOKEN scenario user seed: %s\n" % (self.user_seed) - return biohash.create_biohash(self.ivector, self.length, self.user_seed) + return biohash.create_biohash(ivector, self.length, self.user_seed) def project(self, feature_array, user_seed): -- GitLab