I have been getting multiple errors which are due to conflicts in the TensorFlow version installed in my system and the version used to write the code in Tensorflow API. I am using python 3.6.7 and Tensorflow 2.0 to get started with the code https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/installation.md
But I am getting several errors :
flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app. As I am using 2.0 , I replaced tf.app.flags with tf.compat.v1.flags.
from tensorflow.contrib import slim as contrib_slim ModuleNotFoundError: No module named 'tensorflow.contrib'
I am not able to solve the second one. Can I get help to know which python and tensorflow version should be used to run DeepLab v3+?