-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DCGAN with images larger than 32x32 #150
Comments
Had the same problem, the shape [64] you have there comes from the batch_size though. |
In this sense, I would also recommend putting these parameters to Tutorial 1 since these might be easy to oversee and can be mixed up with step_channels, which I guess you did in this case |
And also a quick note on my side: ImageFolder is perfectly capable of reading your dataset in a way that it distinguishes the splits of your dataset according to the folder that they are in, you dont have to create 3 seperate datasets for it. You just give data_loader the split that you want and voila. |
Worked like a charm. Thanks @egebeysel ! |
Describe the bug
Getting the following error when trying to train on images of size larger than 32x32:
"RuntimeError: shape '[64]' is invalid for input of size 1600"
To Reproduce
My hyperparameters for the networks as well as the data I am loading are below
The text was updated successfully, but these errors were encountered: