apple / ml-4m

4M: Massively Multimodal Masked Modeling
https://4m.epfl.ch
Apache License 2.0
1.59k stars 94 forks source link

[Errno 2] No such file or directory: './fourm/utils/hmr2_utils/model_cfg.pkl' #15

Open kaz12tech opened 3 months ago

kaz12tech commented 3 months ago

Human pose dependencies are not installed, hence poses will not be visualized. To visualize them (optional), you can do the following: 1) Install via pip install timm yacs smplx pyrender pyopengl==3.1.4 You may need to follow the pyrender install instructions: https://pyrender.readthedocs.io/en/latest/install/index.html 2) Download SMPL data from https://smpl.is.tue.mpg.de/. See https://github.com/shubham-goel/4D-Humans/ for an example. 3) Copy the required SMPL files (smpl_mean_params.npz, SMPL_to_J19.pkl, smpl/SMPL_NEUTRAL.pkl) to fourm/utils/hmr2_utils/data .

I followed all the steps above but still got the error in the title. Where is model_cfg.pkl?

ofkar commented 2 months ago

Hi @kaz12tech,

You can obtain it by following the loading procedure of 4D-Humans, please see here.

Best, Oguzhan