Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Test not working #6

Open
FSet89 opened this issue Nov 29, 2018 · 0 comments
Open

Test not working #6

FSet89 opened this issue Nov 29, 2018 · 0 comments

Comments

@FSet89
Copy link

FSet89 commented Nov 29, 2018

Traceback (most recent call last):
  File "test.py", line 60, in <module>
    print(detect(im))
  File "test.py", line 30, in detect
    return sess.run(prediction, feed_dict = {X:Xp})
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 905, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1116, in _run
    str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 416, 416, 3) for Tensor 'YOLO/input:0', which has shape '(32, 416, 416, 3)'

I think that the placeholder should have -1 as first dimension and not a constant value. Am I right?

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

No branches or pull requests

1 participant