minar09 / cp-vton-plus

Official implementation for "CP-VTON+: Clothing Shape and Texture Preserving Image-Based Virtual Try-On", CVPRW 2020
https://minar09.github.io/cpvtonplus/
MIT License
352 stars 121 forks source link

About Lreg -(3) #51

Open ikenaga530 opened 3 years ago

ikenaga530 commented 3 years ago

I have a question about equation (3) in the paper.

What are Gx and Gy?

Also, I don't see Gy in the equation, is that correct?

thaithanhtuan commented 3 years ago

If you check the networks.py. You can see the implementation of this loss. image In this, you can use DT or DT2 and we have already define DT and DT2 but we only use DT. And if you check the code, Gx and Gy contains the new grid location. Regards,

roy-sr commented 3 years ago

If I want to use DT2 what should I pass as arguments ?

self.dt2(Gxleft, Gyup, Gxright, Gydown) ?

Please correct me if I am wrong.