After i install the requirement.txt file, I face such an error. I think this TensorFlow compatibility.
you can change "import tensorflow as tf" to "import tensorflow.compat.v1 as tf"
it worked for me.
see this
Hi @Milad-Hosseini! Thanks for your suggestion. Since the TensorFlow version has not been maintained for a while, errors like this could happen. We will fix this nevertheless.
After i install the requirement.txt file, I face such an error. I think this TensorFlow compatibility. you can change "import tensorflow as tf" to "import tensorflow.compat.v1 as tf" it worked for me. see this