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

AttributeError: 'function' object has no attribute 'GFile' #7498

Open
EnezMutluoglu opened this issue Aug 24, 2019 · 2 comments
Open

AttributeError: 'function' object has no attribute 'GFile' #7498

EnezMutluoglu opened this issue Aug 24, 2019 · 2 comments

Comments

@EnezMutluoglu
Copy link

EnezMutluoglu commented Aug 24, 2019

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'

@EnezMutluoglu 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
@tensorflowbutler tensorflowbutler added the stat:awaiting response Waiting on input from the contributor label Aug 25, 2019
@tensorflowbutler
Copy link
Member

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

@EnezMutluoglu
Copy link
Author

raspberry pi 4 cuda : n/a cudann n/a
tensorflow 1.13

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Waiting on input from the contributor label Aug 26, 2019
@gowthamkpr gowthamkpr added the models:research models that come under research directory label Sep 10, 2019
@jaeyounkim jaeyounkim added models:research:odapi ODAPI and removed models:research models that come under research directory labels Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants