title: module 'tensorflow.compat.v2.__internal__' has no attribute 'tf2'
body: <p>I'm trying to use TensorFlow as backend yesterday I can use it, but today when I use it to show some error message when I'm trying to import Keras, so here's my code:</p>
  <pre><code># Install required libs  
  # NOTE: Run this one code, then restart this runtime and run again for next all... (PENTING!!!) 
   
  ### please update Albumentations to version&gt;=0.3.0 for `Lambda` transform support
  !pip install -U segmentation-models
  
  !pip install q tensorflow==2.1
  !pip install q keras==2.3.1
  !pip install tensorflow-estimator==2.1.
  
  ## Imports libs
  import os
  os.environ['CUDA_VISIBLE_DEVICES'] = '0'
  
  
  import cv2
  import Keras
  import NumPy as np
  import matplotlib.pyplot as plt
  </code></pre>
  <p>it shows this error:</p>
  <pre><code>AttributeError                            Traceback (most recent call last)
  
  &lt;ipython-input-3-9c78a7be919d&gt; in &lt;module&gt;()
        5 
        6 import cv2
  ----&gt; 7 import keras
        8 import numpy as np
        9 import matplotlib.pyplot as plt
  
  8 frames
  
  /usr/local/lib/python3.7/dist-packages/keras/initializers/__init__.py in populate_deserializable_objects()
       47 
       48   LOCAL.ALL_OBJECTS = {}
  ---&gt; 49   LOCAL.GENERATED_WITH_V2 = tf.__internal__.tf2.enabled()
       50 
       51   # Compatibility aliases (need to exist in both V1 and V2).
  
  AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'tf2'
  </code></pre>
  <p>while therefore I was using TensorFlow version 2.2 and Keras version 2.3.1, yesterday I can run, but today it seems can't. did I was the wrong version import for my Keras and TensorFlow for today?</p>
  <p>Edit:
  when I use <code>from tensorFlow import keras</code> the output I want <code>using tensorflow backend</code> doesn't show up, And then when I load <code>import segmentation_models as sm</code> it shows the same error when I use <code>import Keras</code> like on above.</p>