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

Exception thrown if inference with batch size other than 1 #108

Open
mandy-li opened this issue Apr 30, 2019 · 0 comments
Open

Exception thrown if inference with batch size other than 1 #108

mandy-li opened this issue Apr 30, 2019 · 0 comments

Comments

@mandy-li
Copy link

With commit ID 2d8b0cb, if use batch size other than 1 to do inference, an exception will be thrown.

This is the exception I got with batch size 2 for inference:

Traceback (most recent call last):
File "/localdisk/venv_3_31_master/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1337, in _do_call
return fn(*args)
File "/localdisk/venv_3_31_master/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1322, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/localdisk/venv_3_31_master/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1410, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [8732] vs. [17464]
[[{{node decode_all_anchors/mul_7}}]]

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

1 participant