I try to train the DCGAN on the mnist dataset and I get this error:
File "main.py", line 102, in <module> 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'
I try to train the DCGAN on the mnist dataset and I get this error:
File "main.py", line 102, in <module> 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.