bharat-b7 / LoopReg

91 stars 10 forks source link

Datas lost in 'smpl_path.py' #10

Open wangfudong opened 3 years ago

wangfudong commented 3 years ago

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~

yanina-anastasia commented 3 years ago

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

bharat-b7 commented 3 years ago

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.