dome272 / VQGAN-pytorch

Pytorch implementation of VQGAN (Taming Transformers for High-Resolution Image Synthesis) (https://arxiv.org/pdf/2012.09841.pdf)
MIT License
443 stars 73 forks source link

Grid artifacts in vqgan #15

Open darthjaja6 opened 6 months ago

darthjaja6 commented 6 months ago

Hi, when I run this code I got vertical and horizontal lines on the image: image I came to this repo from the youtube video, and it seems the OP has diagonal lines instead... https://youtu.be/_Br5WRwUz_U?t=1637 Can anyone tell me why, and how to prevent it?

jpmcarvalho commented 6 months ago

Hello,

Maybe could be the downsampling and upsampling stages?

Can you check it?