eth-ait / aitviewer

A set of tools to visualize and interact with sequences of 3D data.
MIT License
527 stars 47 forks source link

Missing pkl file for FLAME template demo #2

Closed Okaerikoto closed 2 years ago

Okaerikoto commented 2 years ago

I am trying to run the load_template.py demo and get the following error:

  File "load_template.py", line 30, in <module>
    flame_template = SMPLSequence.t_pose(SMPLLayer(model_type='flame', gender='neutral', device=C.device),
  File "/home/kellerm/Code/aitviewer/aitviewer/models/smpl.py", line 56, in __init__
    self.bm = smplx.create(C.smplx_models, model_type=model_type,
  File "/home/kellerm/Code/aitviewer/aitviewer_env/lib/python3.8/site-packages/smplx/body_models.py", line 2408, in create
    return FLAME(model_path, **kwargs)
  File "/home/kellerm/Code/aitviewer/aitviewer_env/lib/python3.8/site-packages/smplx/body_models.py", line 1943, in __init__
    with open(landmark_bcoord_filename, 'rb') as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/home/kellerm/Data/smplx_models/flame/flame_static_embedding.pkl'

For the Flame model, the models released on Flame website do not contain flame_static_embedding.pkl, where can I get this file? SMPLX github don't seem to give instructions about Flame.

totomobile43 commented 2 years ago

You can find the static and dynamic embedding files here: https://github.com/soubhiksanyal/RingNet/tree/master/flame_model