carpedm20 / carpedm20/DCGAN-tensorflow
TypeError: unsupported operand type
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I try to train the DCGAN on the mnist dataset and I get this error:
` File "main.py", line 102, in
max_to_keep=FLAGS.max_to_keep)
File "C:\Users\felix\Documents\Python Scripts\DCGAN-tensorflow-master\model.py", line 104, in __init__
self.build_model()
File "C:\Users\felix\Documents\Python Scripts\DCGAN-tensorflow-master\model.py", line 126, in build_model
self.G = self.generator(self.z, self.y)
File "C:\Users\felix\Documents\Python Scripts\DCGAN-tensorflow-master\model.py", line 400, in generator
s_w2, s_w4 = int(s_w/2), int(s_w/4)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'`
The error same happend with a custom dataset.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.