AmeyaWagh / traffic_sign_detection

Implementation of darkflow on traffic sign detection and classification
MIT License
73 stars 21 forks source link

Stuck on ./runYOLO #2

Open BigfanofGreenDay opened 5 years ago

BigfanofGreenDay commented 5 years ago

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 commented 5 years ago

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