bharat-b7 / MultiGarmentNetwork

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

How to use your own clothing data #10

Closed yangbiaobiao500 closed 4 years ago

yangbiaobiao500 commented 4 years ago

Although digital wardrobes show great results, what if I want to use my own data? How to use your own clothing data and how to generate data similar to a digital wardrobe? We look forward to your reply and appreciate it

bharat-b7 commented 4 years ago

To generate your own wardrobe, you'll have to do multi-mesh registration on scans as described in the paper. This code is not released currently.

yangbiaobiao500 commented 4 years ago

RuntimeError: Error copying tensor to device: /job:localhost/replica:0/task:0/device:GPU:1. /job:localhost/replica:0/task:0/device:GPU:1 unknown device. I do as you said to un the code on a single GPU comment out the lines containing with tf.device('gpu:x')

Screenshot from 2019-12-11 13-39-03 Only here tf.device ('gpu: x') But the results have not changed,we look forward to your answer and appreciate it.

Qingcsai commented 4 years ago

@yangbiaobiao500 Well, you should notice the indent problem when u only comments. If you are using only one GPU, I think it's better to change all the

with tf.device('/gpu:x')

with

with tf.device('/gpu:0')

Once you set '/gpu:0', it will automatically call the first GPU you have, which is the only one u have.

Vikas-Sony commented 3 years ago

Hi,

Did you figure out how to do multi mesh registration. If yes, can i please get a sample code or maybe steps on how to do that?