carpedm20 / carpedm20/DCGAN-tensorflow
TypeError and ValueError during training with downloaded dataset and my own dataset
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I want to try this DC_GAN code to train my own model with my own dataset.
The image size in my dataset is 256x256x3, format is *.jpg.
I use the command "python main.py --dataset mydata --is_train" and got this error message:
ValueError: Trying to share variable discriminator/d_h3_lin/Matrix, but specified shape (8192, 1) and found shape (131072, 1).
Then I conduct another experiment with the downloaded data (mnist and celebA)
I use the command
"python main.py --dataset mnist --input_height=28 --output_height=28 --c_dim=1 --is_train"
and
"python main.py --dataset celebA --input_height=108 --is_train --is_crop True"
both return me this error message:
TypeError: sigmoid_cross_entropy_with_logits() got an unexpected keyword argument 'labels'
Anyone has any idea how to solve this issue?
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.