Compile GAN , Error in the shape

Hello, Tensoflow community:
I have implemented the perceptual loss function and passed it through the generator, but I have this error when I try to compile. Can some one help me and thanks in advance.