sergeywong / cp-vton

Reimplemented code for "Toward Characteristic-Preserving Image-based Virtual Try-On Network"
MIT License
474 stars 182 forks source link

convert_data.m file generates 90°rotated Image Parse while processing data in VITON #15

Closed rishabhdhakarwal closed 5 years ago

rishabhdhakarwal commented 5 years ago

When convert_data.m file is used to prepare data from VITON, the Image parse generated by it using mat file from segment folder is tilted by 90°.

rishabhdhakarwal commented 5 years ago

The issue can be resolved by adding segment transpose 3 times after the mat file has been resized. This will produce correct Image parse output. Screenshot from 2019-06-04 14-02-28 Add lines 61-63