You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: