title: AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
body: <p>I have been working on keras yolov3 model for object detection. This error keeps showing up. 
  Here is the error:</p>
  
  <pre><code>AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
  
  </code></pre>
  
  <p>I don't know what to do. I have tried replacing "import keras.module.module" to "tensorflow.keras.module.module". But still it doesn't work.</p>
  
  <p>The full output code:</p>
  
  <pre><code>runfile('G:/Traffic Violation Detection/object_detection.py', wdir='G:/Traffic Violation Detection')
  Using TensorFlow backend.
  Traceback (most recent call last):
  
    File "&lt;ipython-input-3-0715decb6662&gt;", line 1, in &lt;module&gt;
      runfile('G:/Traffic Violation Detection/object_detection.py', wdir='G:/Traffic Violation Detection')
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
      execfile(filename, namespace)
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
      exec(compile(f.read(), filename, 'exec'), namespace)
  
    File "G:/Traffic Violation Detection/object_detection.py", line 6, in &lt;module&gt;
      from keras.layers.merge import add, concatenate
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\__init__.py", line 3, in &lt;module&gt;
      from . import utils
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\utils\__init__.py", line 6, in &lt;module&gt;
      from . import conv_utils
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\utils\conv_utils.py", line 9, in &lt;module&gt;
      from .. import backend as K
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\backend\__init__.py", line 1, in &lt;module&gt;
      from .load_backend import epsilon
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\backend\load_backend.py", line 90, in &lt;module&gt;
      from .tensorflow_backend import *
  
    File "C:\Users\HP-NPC\Anaconda3\envs\virtual_platform\lib\site-packages\keras\backend\tensorflow_backend.py", line 54, in &lt;module&gt;
      get_graph = tf_keras_backend.get_graph
  
  AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
  </code></pre>
  
  <p>My imports:</p>
  
  <pre><code>import numpy as np
  from tensorflow.keras.layers import Conv2D, Input, BatchNormalization, LeakyReLU, ZeroPadding2D, UpSampling2D
  from keras.layers.merge import add, concatenate
  from tensorflow.keras.models import Model
  import struct
  import cv2
  import imageio
  
  </code></pre>
  
  <p>For full code please visit: <a href="https://colab.research.google.com/drive/1oVR7swBqjfqxR50C3xt89w1vGEAaTFcK#scrollTo=rpSn_HsUHbGF" rel="noreferrer">https://colab.research.google.com/drive/1oVR7swBqjfqxR50C3xt89w1vGEAaTFcK#scrollTo=rpSn_HsUHbGF</a></p>