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

Steps to set up project on linux ubuntu machine .Also how to test remotely .Do we have some web interface or GUI to train and visualize remotely #55

Open
dev2021-ctrl opened this issue Sep 4, 2021 · 8 comments

Comments

@dev2021-ctrl
Copy link

This dressing project is awesome and I would love to use it.
I am trying to set up https://github.com/bharat-b7/MultiGarmentNetwork on a linux machine but facing lots of issues.

I am trying to run on aws ami machines but don't know which ec2 instance shall i consider.
Can you please let me know what is the minimum hardware requirement to run the trained models and later also train it.
Currently I am using p4d.24xlarge aws ec2 instance with gpu

Also there is no proper doc for installing on ubuntu /linux machines to run the project.
Can you share some conda package manager files that will set up the complete env or pip or virtual env anything that you have.
Also I see many python files but don't know how to get it setup on linux
A bit urgent
please help

@dev2021-ctrl
Copy link
Author

@bharat-b7 can you please help

@bharat-b7
Copy link
Owner

Hi, unfortunately I don't have experience with AWS so I don't know how to help you with it.
I've attached the conda environment file below. The CUDA version I used was 9.1
mgn_req.txt

@bharat-b7
Copy link
Owner

For visualizations using the MPI mesh library you'll need openGL and a display. Not sure if AWS has this. Alternatively you can comment out the visualization part and save the meshes. You can then open the meshes on your local machine.

@dev2021-ctrl
Copy link
Author

@bharat-b7 can you please let me know the steps to achieve it.I am using ubuntu 18.04 with nvidia gpu and cuda installed and hosted on AWS .I am sure opnegl is insatted.
I then installed VNC rdp so I can acccess the desktop but when running python dress_smpl.py or any such visualzie script I get "
openglx extension not supported , Failed to open display"

Please advise

Complete logs

"OpenGL test failed:
stdout:
stderr: f
r
e
e
g
l
u
t

(
f
o
o
)
:

f
a
i
l
e
d

t
o

o
p
e
n

d
i
s
p
l
a
y

'
'

Done
"

@bharat-b7
Copy link
Owner

This is an MPI psbody mesh library issue. It does not allow to open the meshviewer on a remote machine. You can save the mesh and open locally.

@dev2021-ctrl
Copy link
Author

ok no issues .can u please let me know how to save the mesh and then open locally.Do I need to make changes in the code.

@dev2021-ctrl
Copy link
Author

This is an MPI psbody mesh library issue. It does not allow to open the meshviewer on a remote machine. You can save the mesh and open locally.
Thanks.
So I assume all the .py scripts in this repo MGN, just need to have meshviewer properly fixed and then opengl and display can work remotely then.I guess once I can https://github.com/MPI-IS/mesh#viewing-a-mesh-from-a-remote-machine fix this , all scripts shall run fine
Correct? Is there any other script dirt or any such that uses opengl display?

@hshreeshail
Copy link

ok no issues .can u please let me know how to save the mesh and then open locally.Do I need to make changes in the code.

Use Mesh.write_obj() to save the Mesh as an .obj file. Then, follow the steps from https://github.com/MPI-IS/mesh to install Mesh on your local machine (which should have display). Then, as mentioned in the Mesh repo, using meshviewer view filename.obj should help to view the file.

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

3 participants