Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Cannot feed value of shape (0,) for Tensor 'Placeholder_1:0', which has shape '(16, 4, 4, 3)' #1

Open
airsteffen opened this issue Mar 3, 2019 · 1 comment

Comments

@airsteffen
Copy link

Hi, I'm trying to train my own dataset, but have this error. Do you have any ideas?
Traceback (most recent call last):
File "wrapper.py", line 29, in <module>
process_config(sys.argv[1])
File "wrapper.py", line 22, in process_config
gan.execute()
File "/floyd/home/deepzine.py", line 89, in execute
self.train_gan()
File "/floyd/home/deepzine.py", line 204, in train_gan
pggan.train()
File "/floyd/home/model.py", line 283, in train
sess.run(self.opti_D, feed_dict={self.images: real_data, self.latent: sample_latent})
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 887, in run run_metadata_ptr)
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1086, in _run str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (0,) for Tensor 'Placeholder_1:0', which has shape '(16, 4, 4, 3)'

@AnnaBeers
Copy link
Owner

It looks like data is not being fed into your network, perhaps because something went wrong in the data-loading process, but unfortunately I cannot troubleshoot without understanding more about the dataset you are trying to train on. Are you working with similar data downloaded from the Internet Archive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants