File "generate_tfrecord.py", line 23, in <module> flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app'
clementks opened this issue · 2 comments
clementks commented
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 commented
What version you use ?
TheUsmanMirza commented
@clementks try using tensorflow 1.15 version. It worked for me.