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: pbLoad #280

Open
kireoxdz opened this issue Jun 13, 2017 · 2 comments
Open

AttributeError: pbLoad #280

kireoxdz opened this issue Jun 13, 2017 · 2 comments

Comments

@kireoxdz
Copy link

I'm sorry to bother you, but I'm running the program according to your steps, using python3.5, tensorflow1.1, opencv3.0, which is wrong and can't be done. Please answer it

File "/home/user/anaconda2/envs/py3k/lib/python3.5/site-packages/tensorflow/python/platform/flags.py", line 50, in getattr

raise AttributeError(name)

AttributeError: pbLoad

@abagshaw
Copy link
Collaborator

@kireoxdz Are you sure you are using the latest version of darkflow? Please try re-cloning the repo just in case.

@nemkin
Copy link

nemkin commented Jan 29, 2018

Hello guys! I had the same issue. I was using this flow3 script from a Dockerfile I downloaded here:
https://github.com/loretoparisi/docker/blob/master/darkflow/flow3

It was missing two flags, I added them manually in the flow3 file:

flags.DEFINE_string("labels", "labels.txt", "This is my labels.txt file's relative path.")
flags.DEFINE_boolean("pbLoad", False, "Not loading from pb for training.")

And my issues were gone.

Hope this helps anyone who googles this.

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