geyuying / PF-AFN

Official code for "Parser-Free Virtual Try-on via Distilling Appearance Flows", CVPR 2021.
543 stars 137 forks source link

Grid sample #9

Open artemkurylev opened 3 years ago

artemkurylev commented 3 years ago

Hello, In the article, you did explain the refinement of flow in the Appearance flow estimation network. There are two places, which I did not understand when you said that you added residual flows but in code, as I actually see, that you did grid sample on flows. Could you please explain why did you do such an operation not only on the clothes to warp it but on the flows themselves?

geyuying commented 3 years ago

Hi, as the function apply_offset() turns flow into grids for sample, we actually did grid sample on grids.