Skip to content

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

@airsteffen

Description

@airsteffen

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)'

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