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
356 stars 122 forks source link

CIHP_PGN issue #108

Open Fatimakais opened 1 year ago

Fatimakais commented 1 year ago

Hello, I am a beginner and followed your demo step by step, but I wanted to give inputs from internet. I wasn't able to generate CIHP_PGN segmentation. Can you give me a reference please. Thank you

minar09 commented 1 year ago

Hi you can check the original PGN (https://github.com/Engineering-Course/CIHP_PGN), or there was one I tried (https://github.com/minar09/PGN_tf).

Fatimakais commented 1 year ago

Thank you for your response I will try it

ntad27 commented 1 year ago

I've tried to test the code on custom images but I got this eror, could someone help me to fix it File "/content/content/cp-vton-plus/cp_dataset.py", line 145, in getitem im_c = im * pcm + (1 - pcm) # [-1,1], fill 1 for other parts RuntimeError: The size of tensor a (192) must match the size of tensor b (768) at non-singleton dimension 2

LongTCH commented 2 months ago

I've tried to test the code on custom images but I got this eror, could someone help me to fix it File "/content/content/cp-vton-plus/cp_dataset.py", line 145, in getitem im_c = im * pcm + (1 - pcm) # [-1,1], fill 1 for other parts RuntimeError: The size of tensor a (192) must match the size of tensor b (768) at non-singleton dimension 2

image The size of image in dataset is 192