PLDA machine save and load problem

Created by: zongyuange

Hi Laurent,

It is me again. I have found an issue with PLDA machine.

After a bob.machine.PLDAMachine is trained, I saved it with save_file = bob.io.HDF5File('/home/test.hdf5','w'); plda_machine.save(save_file)

when I am trying to load it again with file = bob.io.HDF5File('/home/test.hdf5','r'); plda = bob.machine.PLDAMachine(); plda.load(file)

Then I typed the command 'plda.dim_d ' will cause segmentation error.

You can try it with the any example.

Thanks,

Rehards,

ZongYuan