simulated-unsupervised-tensorflow icon indicating copy to clipboard operation
simulated-unsupervised-tensorflow copied to clipboard

ValueError: all input arrays must have the same shape

Open zhangboshen opened this issue 8 years ago • 0 comments

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

zhangboshen avatar Sep 18 '17 08:09 zhangboshen