tf.app.flags and tf.app.run from Tensorflow 1 were removed from Tensorflow 2. Is there a better alternative than using tf.compat.v1.flags given I am writing the script from scratch.
What's the best way to do this? Should I just stick with argparse and run main()?
Instead of
tf.app.flags, it is recommended to use abseil-py. An example,