TensorFlow-object-detection-tutorial icon indicating copy to clipboard operation
TensorFlow-object-detection-tutorial copied to clipboard

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

Open clementks opened this issue 6 years ago • 2 comments

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?

clementks avatar Oct 08 '19 07:10 clementks

What version you use ?

pythonlessons avatar Oct 30 '19 05:10 pythonlessons

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

TheUsmanMirza avatar Nov 14 '19 09:11 TheUsmanMirza