point_based_clothing icon indicating copy to clipboard operation
point_based_clothing copied to clipboard

UV Coordinate

Open caiyongqi opened this issue 2 years ago • 0 comments

https://github.com/saic-vul/point_based_clothing/blob/3650fdae2ba9a5ced40f3075a4f0fd995442a64e/src/outfit_code/utils.py#L61 Hi, I found that the above code seems to generate transposed UV coordinates, i.e. the UV coordinates of the first row of the image ([height, width, channel] format) grid are [0, 0], [0, 1], [0, 2], ..., [ 0, H-1], which are actually "VU coordinates". And when the width and height of the image are different, it gives an error.

caiyongqi avatar Apr 27 '22 09:04 caiyongqi