Skip to content

The trainer seems to does not work #5

Description

@fu123456

When I tried to train the model, I got error as follows:

Traceback (most recent call last):
  File "demo.py", line 97, in <module>
    _,current=sess.run([opt,loss],feed_dict={input:input_images[id],output:output_images[id]})
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 929, in
 run
    run_metadata_ptr)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1128, i
n _run
    str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1,) for Tensor 'Placeholder_1:0', which has shape '(?, ?,
 ?, 3)'

The version of tensorflow I used is 1.12, and the system is Ubuntu. Can you help me solve this problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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