MultiGarmentNetwork
MultiGarmentNetwork copied to clipboard
Error in a bytes-like object is required, not 'str' in Dress_SMPL
Hi !
Loved the interpretation of the paper.
I was facing an error while calling vt, ft = dp.get_vt_ft_hres()
smpl = Smpl(dp.get_hres_smpl_model_data()) , I also tried converting it into bytes in all the functions insmpl_paths.py.
Is there a fix that anyone can share real quick?
Change all lines that say
FileLoad = pkl.load(f)
or FileLoad = pkl.load(open(filename))
to
FileLoad = pkl.load(f, encoding='latin-1')
or FileLoad = pkl.load(open(filename, 'rb'), encoding='latin-1')