vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image
https://smpl-x.is.tue.mpg.de/
Other
1.75k stars 339 forks source link

why don't I get the mesh result after running the fit command? #149

Open poincarelee opened 3 years ago

poincarelee commented 3 years ago

Hi, I run the fitting command following the installation steps, but got nothing such as mesh results in corresponding folders. Is there anything wrong ? 截图

Anirudh257 commented 3 years ago

@poincarelee You have to give the required arguments for mesh. And for generating a mesh, your system needs to have OpenGL

poincarelee commented 3 years ago

Thanks, Could you kindly tell me which parameters are required ? Seems parameters needed in the fitting command are all specified. OpenGL has not been installed indeed, I will install it and try.

Anirudh257 commented 3 years ago

@poincarelee what commands did you use to run? The default running command gives the .obj file as output.

poincarelee commented 3 years ago

image

Anirudh257 commented 3 years ago

Okay, and can you share the image that you had used? Did you generate openpose key points and did you try overlaying them on the image? I think that your SMPL-X pose outputted was not good enough to be plotted.

poincarelee commented 3 years ago

COCO_val2014_000000000192 This is the picture I used, morevrer the json file of the keypoints generated by running openpose are put in the corresponding folder. However , I didnot overlay the keypoints on the image.

Anirudh257 commented 3 years ago

@poincarelee Okay, I think that the Openpose didn't generate good results. There seem to be considerable levels of occlusion in the image.

poincarelee commented 3 years ago

I see. Single person in an image would be better? I will try.

Anirudh257 commented 3 years ago

Yes, and it would be better if you can get an image with a frontal facing image. It should work for multi-person scenarios as well but the results are iffy.

kumar665manjeet commented 3 years ago

Hi I have the following below issue, please help me out.

Traceback (most recent call last): File "smplifyx/main.py", line 36, in from fit_single_frame import fit_single_frame File "/home/ubuntu/smplify-x/smplifyx/fit_single_frame.py", line 46, in from human_body_prior.tools.model_loader import load_vposer ImportError: cannot import name 'load_vposer'

kumar665manjeet commented 3 years ago

After running this command... python3 smplifyx/main.py --config cfg_files/fit_smplx.yaml --data_folder /home/ubuntu/DATA_FOLDER --output_folder /home/ubuntu/OUTPUT_FOLDER --visualize="True/False" --model_folder /home/ubuntu/MODEL_FOLDER/models_smplx/models/smplx --vposer_ckpt /home/ubuntu/VPOSER_FOLDER --part_segm_fn smplx_parts_segm.pkl

Got the below error... Traceback (most recent call last): File "smplifyx/main.py", line 36, in from fit_single_frame import fit_single_frame File "/home/ubuntu/smplify-x/smplifyx/fit_single_frame.py", line 46, in from human_body_prior.tools.model_loader import load_vposer ImportError: cannot import name 'load_vposer'

Please help me out....

Anirudh257 commented 3 years ago

@kumar665manjeet can you check if you have followed the procedure of installing smplify-x and vposer properly? Have you downloaded the vposer_model.zip file too?

Try https://github.com/vchoutas/smplify-x/issues/144 as well.

kumar665manjeet commented 3 years ago

yes I have installed everything, download vposer zip file too but thik I have install python 3.6 and 3.7 both version in my server, may be this error due that one?

Anirudh257 commented 3 years ago

Can you try the issue mentioned in the link and downgrade to a lower version of vposer?

kumar665manjeet commented 3 years ago

Thank you for your response, solved the problem.

On Tue 27 Jul, 2021, 10:58 PM Anirudh Thatipelli, @.***> wrote:

Can you try the issue mentioned in the link and downgrade to a lower version of vposer?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vchoutas/smplify-x/issues/149#issuecomment-887696072, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMB3RX57DDI2UFKBQNUXULTZ3UEDANCNFSM474KPAXQ .