bharat-b7 / MultiGarmentNetwork

Repo for "Multi-Garment Net: Learning to Dress 3D People from Images, ICCV'19"
285 stars 65 forks source link

how to run the code? #2

Closed wolf943134497 closed 4 years ago

wolf943134497 commented 4 years ago

hi @bharat-b7 thanks for your great work! can you give me a brief pipeline, which can run the code correctly. And which folder should place the dataset and pretrained model files?

bharat-b7 commented 4 years ago

Hi, The file containing sample test data, "test_data.pkl" should be placed in "/assets/test_data.pkl", and pretrained files go in "/saved_model/".

To run the code: python test_network.py

Eby-123 commented 4 years ago

@bharat-b7 Hi, Running the code:pytho test_network.py,it can run without error and the last line of code print("Done") works. But, the code mv = MeshViewers((1,2), keepalive=True) and mv1 = MeshViewers((1,2), keepalive=True) does not display the corresponding results. How to visualize the result of garment and person? Any advice would be appreciated. My enviroment is : ubuntu16.04, python3.5, tensroflow1.13, cmake3.10, gcc5.4, cuda10.0, nvidia driver410.48, dirt0.3.0, psbody-mesh0.3.

bharat-b7 commented 4 years ago

Try inserting a breakpoint before the print statement (or just insert raw_input(" Waiting for key press ")

Eby-123 commented 4 years ago

@bharat-b7 Thank's a lot