li-ronghui / LODGE

The code the CVPR2024 paper Lodge: A Coarse to Fine Diffusion Network for Long Dance Generation Guided by the Characteristic Dance Primitives
105 stars 6 forks source link

渲染时报错:/data/human/datasets/smpl_model/smplh/SMPLH_MALE.pkl does not exist! #21

Closed Malacca1211 closed 2 months ago

Malacca1211 commented 2 months ago

你好,我在尝试复现您的工作时在渲染步骤遇见报错:

~/LODGE$ python render.py --modir /home/LODGE/data/finedance/motion
0
209.npy
Traceback (most recent call last):
  File "render.py", line 412, in <module>
    visualizer = MovieMaker(save_path=save_path)
  File "render.py", line 80, in __init__
    self.smplh = SMPLH(SMPLH_path, use_pca=False, flat_hand_mean=True)
  File "/home/xietong/miniconda3/envs/lodge/lib/python3.8/site-packages/smplx/body_models.py", line 575, in __init__
    assert osp.exists(smplh_path), 'Path {} does not exist!'.format(
AssertionError: Path /data/human/datasets/smpl_model/smplh/SMPLH_MALE.pkl does not exist!

预训练模型和预处理数据都是直接从您提供的链接下载的,请问从哪里可以获得这个human文件夹及其路径下文件呢。 谢谢!

顺颂夏安!

li-ronghui commented 2 months ago

你好,smpl,smplh和smplx是三种可选的模型用于渲染。FineDance数据集是需要用smplx模型渲染的。 因此上面error中报错的smplh不是必须项。

li-ronghui commented 2 months ago

For easy of use, the render.py code has been updated. :D

Malacca1211 commented 2 months ago

感谢您的回答,我的问题解决了。 Best regards!