armaanpriyadarshan / Object-Detection-on-Raspberry-Pi

This tutorial allows you to deploy the new TensorFlow 2 Object Detection Models as well Custom Object Detection Models on the Raspberry Pi
24 stars 9 forks source link

ERROR #1

Open Divya29112000 opened 3 years ago

Divya29112000 commented 3 years ago

i did everything you said this is final error im getting. please help very urgent.

(tensorflow) pi@raspberrypi:~/tensorflow $ python TF-PiCamera-OD.py Traceback (most recent call last): File "TF-PiCamera-OD.py", line 81, in from object_detection.utils import label_map_util File "/home/pi/tensorflow/models/research/object_detection/utils/label_map_util.py", line 29, in from object_detection.protos import string_int_label_map_pb2 ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (/home/pi/tensorflow/models/research/object_detection/protos/init.py)

Divya29112000 commented 3 years ago

i fixed that but now when i run the final code my system freezes/hangs after few minutes

armaanpriyadarshan commented 3 years ago

Hi! This is a common error with normal TensorFlow, Until tflite support for Python is released, there's not much we can do to make the model consume less system resources.