carpedm20 / carpedm20/DCGAN-tensorflow
Got error using my own data
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "/home/sal/Downloads/pycharm-community-2016.2.3/helpers/pydev/pydevd.py", line 1580, in
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/sal/Downloads/pycharm-community-2016.2.3/helpers/pydev/pydevd.py", line 964, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/sal/PycharmProjects/ReID/GANReID/main.py", line 96, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "/home/sal/PycharmProjects/ReID/GANReID/main.py", line 76, in main
sample_dir=FLAGS.sample_dir)
File "/home/sal/PycharmProjects/ReID/GANReID/model.py", line 75, in __init__
self.build_model()
File "/home/sal/PycharmProjects/ReID/GANReID/model.py", line 107, in build_model
self.G = self.generator(self.z)
File "/home/sal/PycharmProjects/ReID/GANReID/model.py", line 359, in generator
self.z_, [-1, s_h16, s_w16, self.gf_dim * 8])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 1991, in reshape
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 573, in apply_op
_Attr(op_def, input_arg.type_attr))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 60, in _SatisfiesTypeConstraint
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: DataType float32 for attr 'Tshape' not in list of allowed values: int32, int64
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.