MultiGarmentNetwork icon indicating copy to clipboard operation
MultiGarmentNetwork copied to clipboard

Error in a bytes-like object is required, not 'str' in Dress_SMPL

Open aditi310896 opened this issue 4 years ago • 1 comments

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?

aditi310896 avatar Dec 19 '20 23:12 aditi310896

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')

AlyanQ avatar Nov 30 '21 08:11 AlyanQ