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

question about how to convert parms info to numpy #25

Closed
liwenssss opened this issue Jul 25, 2019 · 3 comments
Closed

question about how to convert parms info to numpy #25

liwenssss opened this issue Jul 25, 2019 · 3 comments

Comments

@liwenssss
Copy link

hello, thanks your great job that help me .But when I use the pytorch version SMPL,I find some conflict. FOr example:
self.shapedirs = torch.from_numpy(params['shapedirs']).type(torch.float64)
I got:
TypeError: expected np.ndarray (got Ch)
There still many like this. I want to know is it the version of my environment that cause the problem. And if we can have a conversion offline or by email.
Thx your great job again~

@CalciferZh
Copy link
Owner

Did you run preprocess.py first to convert the official model?

@liwenssss
Copy link
Author

Did you run preprocess.py first to convert the official model?

ops, I just run the pytorch version. THx your quick reply!
By the way, is any interface to get vert and joint, not the final res.
Thanks your quick reply again!

@CalciferZh
Copy link
Owner

For vertices see SMPLModel.verts, for joints see this issue

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