Skip to content
Snippets Groups Projects
Commit ea828069 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed bug in new test API.

parent 7a6493c1
Branches
Tags
No related merge requests found
...@@ -177,7 +177,7 @@ class FaceVerifyExampleTest(unittest.TestCase): ...@@ -177,7 +177,7 @@ class FaceVerifyExampleTest(unittest.TestCase):
# model = enroll({i : features[i] for i in keys[10:12]}, ubm, enroller) # model = enroll({i : features[i] for i in keys[10:12]}, ubm, enroller)
enrollset = {} enrollset = {}
for i in keys[10:12]: enrollset[i] = features[i] for i in keys[10:12]: enrollset[i] = features[i]
model = enroll(enrollset) model = enroll(enrollset, ubm, enroller)
if regenerate_references: if regenerate_references:
model.save(bob.io.HDF5File(self.resource('dct_model.hdf5'), 'w')) model.save(bob.io.HDF5File(self.resource('dct_model.hdf5'), 'w'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment