face3d icon indicating copy to clipboard operation
face3d copied to clipboard

01_MorphableModel.mat can not be find

Open saigooooo opened this issue 6 years ago • 11 comments

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!

saigooooo avatar Sep 19 '18 11:09 saigooooo

Have you got the 01_MorphableModel.mat? Could you send to me if you have one? Thank you very much!

Liforam avatar Mar 04 '19 03:03 Liforam

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 !

Guriido avatar Mar 05 '19 06:03 Guriido

Thanks a lot!

Liforam avatar Mar 05 '19 06:03 Liforam

I only download 2019 or 2017, but 01_MorphableModel.mat is 2009 format. How can I get it?

wm901115nwpu avatar Jul 21 '20 02:07 wm901115nwpu

I downloaded BSM 2019. There is no file named 01_MorphableModel.mat in the links. From where I can get this file.

shailzasharma avatar Aug 05 '20 15:08 shailzasharma

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

Huong-nt avatar Jan 05 '21 02:01 Huong-nt

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?

catherine-qian avatar Oct 01 '21 06:10 catherine-qian

i download it from this repository

ceasona avatar Jun 09 '22 09:06 ceasona

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)

chelseamilton avatar Apr 26 '23 08:04 chelseamilton

Thanks a lot!

aoyang-hd avatar Jan 30 '24 03:01 aoyang-hd