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

File "generate_tfrecord.py", line 23, in <module> flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app' #5

Open
clementks opened this issue Oct 8, 2019 · 2 comments

Comments

@clementks
Copy link

When running generate_tfrecord.py, encounter this issue on File "generate_tfrecord.py", line 23, in
flags = tf.app.flags
AttributeError: module 'tensorflow' has no attribute 'app'.

Any advice?

@pythonlessons
Copy link
Owner

What version you use ?

@TheUsmanMirza
Copy link

@clementks try using tensorflow 1.15 version. It worked for me.

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