Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aditi310896 opened this issue Dec 19, 2020 · 1 comment
Open

Comments

@aditi310896
Copy link

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?

@AlyanQ
Copy link

AlyanQ commented Nov 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants