You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/pi/Desktop/tensorflow1/models/research/object_detection/Object_detection_webcam.py", line 55, in
label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
File "/home/pi/Desktop/tensorflow1/models/research/object_detection/utils/label_map_util.py", line 137, in load_labelmap
with tf.gfile.GFile(path, 'r') as fid:
AttributeError: 'function' object has no attribute 'GFile'
The text was updated successfully, but these errors were encountered:
EnezMutluoglu
changed the title
did the installation windows, knowing the problem that gave this error when I add linux.
AttributeError: 'function' object has no attribute 'GFile'
Aug 24, 2019
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
What is the top-level directory of the model you are using
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Traceback (most recent call last):
File "/home/pi/Desktop/tensorflow1/models/research/object_detection/Object_detection_webcam.py", line 55, in
label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
File "/home/pi/Desktop/tensorflow1/models/research/object_detection/utils/label_map_util.py", line 137, in load_labelmap
with tf.gfile.GFile(path, 'r') as fid:
AttributeError: 'function' object has no attribute 'GFile'
The text was updated successfully, but these errors were encountered: