Assuming that you are getting this error in 3rd line of Discriminator code as the details you shared are not enough.
the size of output is 120000, which is not a multiple of 12288(1,3,64,64)(considering DIM to 64).