face3d
face3d copied to clipboard
01_MorphableModel.mat can not be find
Hello, YadiraF, I appreciate your work in this field. I'm trying to use the code of generate_posmap_300WLP.py to produce some UV posmap. I could not find the01_MorphableModel.mat , The website you provide maybe also out of date. I find the BaselFaceModel from https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads . But I can't unpack and get the 01_MorphabelModel.mat. How to get the 01_MorphabelModel.mat ? many thanks to you!
Have you got the 01_MorphableModel.mat? Could you send to me if you have one? Thank you very much!
After submitting download request at the page linked above, you should receive a mail with a link to download the archive BaselFaceModel.tgz
. Extract its content (tar -xvf BaselFaceModel.tgz
), and you should have a folder named PublicMM1
. The 01_MorphableModel.mat
file should be inside.
Hope this helps !
Thanks a lot!
I only download 2019 or 2017, but 01_MorphableModel.mat is 2009 format. How can I get it?
I downloaded BSM 2019. There is no file named 01_MorphableModel.mat in the links. From where I can get this file.
I downloaded BSM 2019. There is no file named 01_MorphableModel.mat in the links. From where I can get this file.
Download file from this link [https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads] You will get a file named BaselFaceModel.tgz Extracting it and you can see 01_MorphableModel.mat inside the "PublicMM1" folder
i can't find 01_MorphableModel.mat on the website from this link [https://faces.dmi.unibas.ch/bfm/main.php?nav=1-2&id=downloads]. I received the email with many links. I download the contents for every linke and didn't find 01_MorphableModel.mat
Can you please help me with that?
i download it from this repository
you can use this (https://faces.dmi.unibas.ch/bfm/bfm2019/restricted/model2019_face12.h5) convert the .h5 file to .mat
prior to this, you need to go to https://faces.dmi.unibas.ch/bfm/bfm2019.html and fill out the form, the links will be sent via the registered email address. you can find the link i mentioned above there with login credentials.
replace 'path' with your h5 and desired .mat file path.
import h5py
import scipy.io
h5_file_path = 'path'
mat_file_path = 'path'
h5_file = h5py.File(h5_file_path, 'r')
data = {}
for key in h5_file.keys():
data[key] = h5_file[key][()]
scipy.io.savemat(mat_file_path, data)
Thanks a lot!