From 6c2189bce8c60e115fe9f351b301c7f8bf6886ff Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 13 Jun 2017 11:06:31 +0200 Subject: [PATCH] Fix a bug when rng was ignored --- bob/bio/base/algorithm/PLDA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/bio/base/algorithm/PLDA.py b/bob/bio/base/algorithm/PLDA.py index e29499d2..626d13bb 100644 --- a/bob/bio/base/algorithm/PLDA.py +++ b/bob/bio/base/algorithm/PLDA.py @@ -127,7 +127,7 @@ class PLDA (Algorithm): # train machine self.plda_base = bob.learn.em.PLDABase(input_dimension, self.subspace_dimension_of_f, self.subspace_dimension_of_g) - bob.learn.em.train(self.plda_trainer, self.plda_base, training_features, self.plda_training_iterations, self.rng) + bob.learn.em.train(self.plda_trainer, self.plda_base, training_features, self.plda_training_iterations, rng=self.rng) # write machines to file proj_hdf5file = bob.io.base.HDF5File(str(projector_file), "w") -- GitLab