Hello I am working on learning how to build GANS and was trying Pytroch DCGAN from both the training material and from a GitRepo I found.
I am using Kaggle to run this and this is my code right now
Everything seems to be fine with my dataset and my dataloaders but not with the training. I copied the code as I was running into errors thinking it was my implementation of it, but still had the same issue.
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 4, 4], but got 3-dimensional input of size [3, 64, 64] instead
I know what this means but when i look at what my dataloader is producing it is fine [batch_size, 3, 64, 64]
So that should work out fine I would think.
I not quite sure what is going wrong with this.
Here are the place where I am working from for the code
Thank you for any help with this.