itwmm icon indicating copy to clipboard operation
itwmm copied to clipboard

2. Creating an expressive 3DMM issue

Open lvzhihan opened this issue 6 years ago • 2 comments


ValueError Traceback (most recent call last) in () 1 # Blend the ID and expression models into one, and note 2 # The indices into the model for both indivual components. ----> 3 shape_model, lms, id_ind, exp_ind = generate_id_exp_model(DATA_PATH)

in generate_id_exp_model(data_path) 1 def generate_id_exp_model(data_path): 2 # Load the LSFM ID model ----> 3 lsfm_model = m3io.import_lsfm_model(data_path / 'all_all_all.mat') 4 5 # The number of ID and expression deformation components

~/anaconda3/lib/python3.5/site-packages/menpo3d/io/input/base.py in import_lsfm_model(filepath) 243 """ 244 return _import(filepath, lsfm_types, --> 245 landmark_resolver=None) 246 247 import_builtin_asset = BuiltinAssets(_menpo3d_import_builtin_asset)

~/anaconda3/lib/python3.5/site-packages/menpo/io/input/base.py in _import(filepath, extensions_map, landmark_resolver, landmark_ext_map, landmark_attach_func, asset, importer_kwargs) 812 path = _norm_path(filepath) 813 if not path.is_file(): --> 814 raise ValueError("{} is not a file".format(path)) 815 816 # below could raise ValueError as well...

ValueError: /home/lvzhihan/Documents/itwmm-master/itwmm_src_data/all_all_all.mat is not a file

lvzhihan avatar Sep 03 '18 12:09 lvzhihan

Hi, In order to get the all_all_all.mat file, according to LSFM documentation, YOUR SUPERVISOR or FACULTY MEMBER have to access this link and make the request. You can not do it yourself.

image

By the way, if you can access to the file, could you kindly share it? Thank you.

tsly

tsly123 avatar Oct 31 '18 14:10 tsly123

Hi, In order to get the all_all_all.mat file, according to LSFM documentation, YOUR SUPERVISOR or FACULTY MEMBER have to access this link and make the request. You can not do it yourself.

image

By the way, if you can access to the file, could you kindly share it? Thank you.

tsly

Have you got the model? Could you kindly share it? Thank you very much!

yy2yy avatar Aug 04 '20 07:08 yy2yy