LoopReg icon indicating copy to clipboard operation
LoopReg copied to clipboard

Datas lost in 'smpl_path.py'

Open wangfudong opened this issue 4 years ago • 2 comments
trafficstars

Hi, I found that some datas loaded by 'smpl_path.py' were lost in the released code:

@staticmethod
def get_template_file():
    fname = join(ROOT, 'template', 'template.obj')
    return fname

@staticmethod
def get_template():
    return Mesh(filename=SmplPaths.get_template_file())

@staticmethod
def get_faces():
    fname = join(ROOT, 'template', 'faces.npy')
    return np.load(fname)

@staticmethod
def get_bmap():
    fname = join(ROOT, 'template', 'bmap.npy')
    return np.load(fname)

@staticmethod
def get_fmap():
    fname = join(ROOT, 'template', 'fmap.npy')
    return np.load(fname)

@staticmethod
def get_bmap_hres():
    fname = join(ROOT, 'template', 'bmap_hres.npy')
    return np.load(fname)

@staticmethod
def get_fmap_hres():
    fname = join(ROOT, 'template', 'fmap_hres.npy')
    return np.load(fname)

Would you kindly provide these templete datas? Thanks~

wangfudong avatar May 12 '21 07:05 wangfudong

Hi, can't find the same files. Could you please provide them? Without them fit_SMPLD.py isn't working

yanina-anastasia avatar May 27 '21 19:05 yanina-anastasia

Hi, The template.obj is just SMPL model with 0 betas and pose. and faces.npy is just smpl faces, smpl.f You wouldn't need other things for the project. Feel free to remove.

bharat-b7 avatar May 28 '21 08:05 bharat-b7