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

gfile #42

Open
xXA2005 opened this issue Sep 9, 2023 · 2 comments
Open

gfile #42

xXA2005 opened this issue Sep 9, 2023 · 2 comments

Comments

@xXA2005
Copy link

xXA2005 commented Sep 9, 2023

i have tried to change tf.gfile.gfile to tf.io.gfile and same error

2023-09-09 21:56:44.780502: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-09-09 21:56:44.780726: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "c:\Users\ASUS\Desktop\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 61, in <module>
    label_map = label_map_util.load_labelmap(args.labels_path)
  File "c:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\object_detection\utils\label_map_util.py", line 132, in load_labelmap
    with tf.gfile.GFile(path, 'r') as fid:
AttributeError: module 'tensorflow' has no attribute 'gfile'
@apotato369550
Copy link

I'm stuck on the same error. Any progress?

@kurda-kurda
Copy link

pip install tensorflow-object-detection-api

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

3 participants