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

Stuck on ./runYOLO #2

Open
BigfanofGreenDay opened this issue May 5, 2019 · 1 comment
Open

Stuck on ./runYOLO #2

BigfanofGreenDay opened this issue May 5, 2019 · 1 comment

Comments

@BigfanofGreenDay
Copy link

I ran it on Raspberry PI 3b. Previous steps are fine, but I stuck on "./runYOLO". I tried "sudo ./runYOLO", but still the same:

{'dataset': '/home/pi/Traffic_sign_detection_YOLO/dataset', 'yoloConfig': {'metaLoad': '/home/pi/Traffic_sign_detection_YOLO/darkflow/built_graph/tiny-yolo-voc27.meta', 'threshold': 0.01, 'pbLoad': '/home/pi/Traffic_sign_detection_YOLO/darkflow/built_graph/tiny-yolo-voc27.pb', 'gpu': 0.0, 'labels': '../labels.txt'}}

Loading from .pb and .meta
Traceback (most recent call last):
File "YOLOtest.py", line 126, in
det = objectDetector(video=False)
File "YOLOtest.py", line 21, in init
self.tfnet = TFNet(self.options)
File "/home/pi/Traffic_sign_detection_YOLO/darkflow/darkflow/net/build.py", line 54, in init
self.build_from_pb()
File "/home/pi/Traffic_sign_detection_YOLO/darkflow/darkflow/net/build.py", line 87, in build_from_pb
name=""
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/importer.py", line 258, in import_graph_def
op_def = op_dict[node.op]
KeyError: 'RealDiv'

Please help me, thx

@AmeyaWagh
Copy link
Owner

What version of tensorflow are you using?.

import tensorflow as tf
tf.__version__
>>> import tensorflow as tf
>>> tf.__version__
'1.13.1'
>>> 

Also check if your python is pointed to python3 interpreter

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

2 participants