Getting that error everytime i run my training model for the discriminator and generator am using 512*512
Answered here.