apple / ml-hugs

Official repository of HUGS: Human Gaussian Splats (CVPR 2024)
https://machinelearning.apple.com/research/hugs
Other
222 stars 25 forks source link

Bug in Code #16

Open miraymen opened 2 months ago

miraymen commented 2 months ago

There is a bug in l10 in hugs/utils/subdivide_smpl.py

replace

new_smpl = SMPL("data/smpl") 

with

from hugs.cfg.constants import SMPL_PATH  
new_smpl = SMPL(SMPL_PATH  ) 

same at l75

Line 73 hugs/utils/subdivide_smpl add this line

    else:
        new_attributes = None 

otherwise meshes with no attribute aren't divided