How does this apply to tensorflow2.12.0 if you don't change the version of TensorFlow
Hi @K-Bion 

tf.app.run is deprecated in TF 2.x, please use TF [tf.compat.v1.app.run](https://www.tensorflow.org/api_docs/python/tf/compat/v1/app/run) for TF 2.12.

Thanks.
 > Hi @K-Bion
> 
> tf.app.run is deprecated in TF 2.x, please use TF [tf.compat.v1.app.run](https://www.tensorflow.org/api_docs/python/tf/compat/v1/app/run) for TF 2.12.
> 
> Thanks.

It worked. Thank you very much. Hi @K-Bion 

Glad it worked. Please feel free to close the issue since it is resolved.

Thanks.
tf.app.run()
AttributeError
module 'tensorflow' has no attribute 'app'
  File "D:\桌面\bert-master\bert-master\run_classifier.py", line 980, in <module>
    tf.app.run()
AttributeError: module 'tensorflow' has no attribute 'app'