sebtheiler / tutorials

All of the code for my Medium articles
https://medium.com/@sebastiankt9
MIT License
134 stars 107 forks source link

Problem with DCGANS tutorial #9

Open neramas1221 opened 3 years ago

neramas1221 commented 3 years ago

Hi,

I was trying flow the tutorial for the DCGAN but I have hit a problem.

When I run the following line gan_output = discriminator(fake_image) I get the error Dimensions must be equal, but are 3 and 3072 for 'sequential_5/dense_14/MatMul' (op: 'MatMul') with input shapes: [?,3], [3072,1024]. I have checked the numbers and they line up with what is defined above in the tutorial.

Can you help?

Cheers

sebtheiler commented 3 years ago

I'm really sorry but I don't know if I'll be able to help, since it's been almost a year since I last worked on this and this was written for an outdated version of TensorFlow. Could you post the full error trace? I might be able to help if I can see the exact line causing the error.