yasaminjafarian / HDNet_TikTok

MIT License
335 stars 36 forks source link

Correspondence of Densepose #18

Closed yf1019 closed 3 years ago

yf1019 commented 3 years ago

Hi Yasamin, very awesome work!

I'm trying to train this work on my custom dataset. I found that the correspondence *.txts given in the training example are not simply defined by the UV ordinates obtained from the Densepose. If I directly construct correspondence between pixels with the same UV ordinates, it will lead to a very sparse mapping which is not as good as your pre-processed data. So I'd like to ask how did you construct the correspondence mapping between two densepose results?

Many Thanks!

yasaminjafarian commented 3 years ago

Hi. Thanks a lot. I use knnsearch to get the closest UV on the other image. If the distance is less than 7 I accept it as the correspondence.

yf1019 commented 3 years ago

Got it. Thanks a lot!

Hi. Thanks a lot. I use knnsearch to get the closest UV on the other image. If the distance is less than 7 I accept it as the correspondence.