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

Error while executing inference.py #31

Open
abhigoku10 opened this issue Mar 16, 2018 · 5 comments
Open

Error while executing inference.py #31

abhigoku10 opened this issue Mar 16, 2018 · 5 comments

Comments

@abhigoku10
Copy link

hi @georgesung i ran python inference.py -m demo i get this error on both windows and ubuntu
value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "C:\Python35\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 413, in make_tensor_proto
_AssertCompatible(values, dtype)
File "C:\Python35\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 328, in _AssertCompatible
(dtype.name, repr(mismatch), type(mismatch).name)
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
I have tensorflow v14 the latest version installed in the system can you pls suggest me where should i make the necessary changes for the file to run

@MingJiang1988
Copy link

You have to install tensorflow 0.12 for this project. This problem was happened by tensorflow version.

@MikeZhu92
Copy link

@MingJiang1988 Come up with the same error. Switching back to tf 0.12.1 and problem solved. I think we can close this issue.

@adimjoshi
Copy link

I'm getting this error in interference.py

Can you help me with it

Traceback (most recent call last):
File "inference.py", line 6, in
from model import SSDModel
File "/home/aditi/opencv/ssd_tensorflow_traffic_sign_detection-master/model.py", line 241
box = (*box_coords, cls, cls_prob)
^
SyntaxError: invalid syntax

@tanajikamble13
Copy link

@adimjoshi you solved it ?? getting same error .

@tanajikamble13
Copy link

@adimjoshi same error

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

5 participants