Skip to content

ValueError: all input arrays must have the same shape #26

Description

@zhangboshen

Hello, when I prepared dastaset and tried to run ur code , this problem happened, I don't know what's wrong, could u please help me out, thank u!

[] MODEL dir: logs/generative_2017-09-18_16-23-09
[
] PARAM path: logs/generative_2017-09-18_16-23-09/params.json
[*] Training starts...
Traceback (most recent call last):
File "main.py", line 29, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/home/zhangboshen/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 21, in main
trainer.train()
File "/home/zhangboshen/src/tensorflow/simulated-unsupervised-tensorflow/trainer.py", line 83, in train
self.data_loader.synthetic_data_paths[idxs]]
File "/home/zhangboshen/anaconda2/lib/python2.7/site-packages/numpy/core/shape_base.py", line 347, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions