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
346 stars 120 forks source link

RuntimeError: output with shape [1, 256, 192] doesn't match the broadcast shape [3, 256, 192] #48

Closed tasinislam21 closed 3 years ago

tasinislam21 commented 3 years ago

I have been following the tutorial and I am unable to train the algorithm. I have downloaded the dataset via data_download.py. What should I do?

minar09 commented 3 years ago

Hi @1702609 , the repository and the readme is updated. Please try again with the updated instructions and code from the start. Thanks.

tasinislam21 commented 3 years ago

Hi @1702609 , the repository and the readme is updated. Please try again with the updated instructions and code from the start. Thanks.

I have pulled the latest repository and still getting the same issue. Specifically, the problem occurs in the cp_dataset.py line 139 'shape_ori = self.transform(parse_shape_ori)'. Have you got any more suggestions?

minar09 commented 3 years ago

Can you please provide more details on the error? Also, you can download the dataset from our download link, not through the data_download.py.

tasinislam21 commented 3 years ago

There was a problem with my python environment. I fixed it. Thanks

ISL270 commented 3 years ago

There was a problem with my python environment. I fixed it. Thanks

how did you fix it please

VishveshBhat8 commented 3 years ago

There was a problem with my python environment. I fixed it. Thanks

how did you fix it please

I switched from Python 2.7 to Python 3.7 thats all