RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x786432 and 100x8192)

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

Answered here.