Question about GMM statistics and UBM
Created by: mgbarrero
Hi,
I'm trying to use a ISV system, and I got stuck with the GMM statistics necessary for ISVtrainer. According to the tutorials (and what I understood reading them), I've got this code:
gmm = bob.machine.GMMMachine(DIMENSION, NGAUSSIANS)
isv_base = bob.machine.ISVBase(gmm,DIMENSION)
isv_trainer = bob.trainer.ISVTrainer(10, 4.)
isv_trainer.train(isv_base, TRAINING_STATS)
DIMENSION and NGAUSSIANS are the number of dimension of U and the number of gaussians that I have in the facereclib.Tools.ISV definition.
I think the training data should be used to compute the GMM statistics for TRAINING_STATS... but I don't know how. Could you please help me with that point?
And then, I'm not quite sure either how to add the facereclib tool for ISV to that machine and trainer... how to train it, enroll the models and compute scores.
Thanks!! Marta