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

3d model generation error #29

Open
Aparajit-Garg opened this issue Sep 23, 2021 · 1 comment
Open

3d model generation error #29

Aparajit-Garg opened this issue Sep 23, 2021 · 1 comment

Comments

@Aparajit-Garg
Copy link

Aparajit-Garg commented Sep 23, 2021

Hi @classner, thank you for your quick response on my earlier query. I got stuck into another one, could you please help me out.

I am running direct3d/bodyfit.py after generating the pose from pose/pose.py from a .png image with height 513 and maintaining the aspect ratio. I'm passing a folder with a single image in it. The problem I'm facing is this:

No such file or directory: 'direct3d/../models/2dto3d/separate_regressors/forest_82_final.z'

and another thing is that 2 files are being generated namely,
1.) 33.png_body_directseparate.pkl_working
2.) work_lock

Upon opening these files the first one has the character 't' in it and the second one is empty.

Basically my end goal is to feed in an image and get a 3d model of it based on the 91 keypoints. I'm unable to figure out how to achieve this.

Can you please guide me with few details. I am running out of time here😅

@classner
Copy link
Owner

classner commented Oct 1, 2021

Hi @Aparajit-Garg!

The direct 3d prediction is the 'fast' version of the body fitting. This is described in the last part of the method section in the paper. It requires training decision forests to do this prediction. If you want to use it (and I'm not sure that that's the case) you first have to train the forests which generates the missing file, then you can use them.

If you 'just' want to fit the SMPL model to the points in the most accurate way, you can use the methods in the 3dfit folder.

Let me know how it goes!

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