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

Installation guide #4

Open
lisa676 opened this issue Mar 13, 2020 · 5 comments
Open

Installation guide #4

lisa676 opened this issue Mar 13, 2020 · 5 comments

Comments

@lisa676
Copy link

lisa676 commented Mar 13, 2020

Hi @williamljb thanks for such a nice and amazing work. This project is really helpful.

I'm unable to find detail about project installation, can you provide detail installation about project that where to add SMPL, pre-trained weights etc...

Thanks for your support.

@williamljb
Copy link
Owner

Hi Ian786,

Thanks for your interest!
For installation, please check the guide here. The prerequisites are the same.
For training/test options, please see src_ortho/config.py

@lisa676
Copy link
Author

lisa676 commented Mar 16, 2020

Hi @williamljb thanks for your kind response. I just gave it my best try and it's working only for single image.

I have some questions, kindly help me by answering these questions

  1. What do you meant by multi-view?
    (a) Getting single/multi images as input and then view results of all corresponding images in different views? I mean image 1 (input) --> result (in different views), image 2 (input) --> result (in different views).
    or
    (b) Getting multi images from different view (may be from 2 cameras) as input and then view best possible results (as one image)? I mean images (1+2) --> results (as single image having different view).

  2. In demo.py line 156 you declared a list fcs which is getting faces.obj and show.obj file. What is the purpose of this list, is it necessary part of this repository, if yes then from where we can get faces.obj and show.obj files?

  3. If I passed only single image, I can get result in two different views along with original view. It means for single image code is working fine but when I passed more than one images having different views (captured from 2 cameras with different views) then I'm getting following error.

Screenshot from 2020-03-16 16-56-01

Thanks for your precious time.

@williamljb
Copy link
Owner

Hi Ian786,

  1. It is (b). The final visualized result will be on camera 0.
  2. The faces in the list are the same as SMPL models. This is just a convenient way to reconstruct and export the body mesh since I didn't know the API for the faces in the renderer or in the SMPL model.
  3. Can you show me your command? You can check if the image paths are parsed correctly here. I guess one possible reason is that you may have an extra comma at the end of the input string.

@lisa676
Copy link
Author

lisa676 commented Mar 17, 2020

Hi @williamljb here is my command
python -m demo --img_paths data/image1.png, data/image2.png

@williamljb
Copy link
Owner

Hi Ian786,

The problem is because there is an extra space between two image paths. Try the following:
python -m demo --img_paths data/image1.png,data/image2.png

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