Skip to content
Snippets Groups Projects
Commit 6c2189bc authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix a bug when rng was ignored

parent b6862320
No related branches found
No related tags found
1 merge request!82Add a function to read features with generators
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment