title: ImportError: cannot import name 'transpose_shape'
body: <p>I am following the Coursera, Deep Learning course with Andrew Ng for object detection with YOLO algorithm, I am trying to run the algorithm on my PC using Windows and Anaconda Navigator, I installed Keras to run on TensorFlow backend. But when I typed the following:</p>
  
  <pre><code>import tensorflow as tf
  from keras import backend as K
  </code></pre>
  
  <p>It showed me the following: </p>
  
  <pre><code>Using TensorFlow backend.
  Traceback (most recent call last):
  
    File "&lt;ipython-input-8-0bcaeab92875&gt;", line 2, in &lt;module&gt;
      from keras import backend as K
  
    File "C:\Users\AbanoubMamdouh\Anaconda3\lib\site-packages\keras\__init__.py", line 3, in &lt;module&gt;
      from . import utils
  
    File "C:\Users\AbanoubMamdouh\Anaconda3\lib\site-packages\keras\utils\__init__.py", line 6, in &lt;module&gt;
      from . import conv_utils
  
    File "C:\Users\AbanoubMamdouh\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in &lt;module&gt;
      from .. import backend as K
  
    File "C:\Users\AbanoubMamdouh\Anaconda3\lib\site-packages\keras\backend\__init__.py", line 89, in &lt;module&gt;
      from .tensorflow_backend import *
  
    File "C:\Users\AbanoubMamdouh\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 24, in &lt;module&gt;
      from ..utils.generic_utils import transpose_shape
  
  ImportError: cannot import name 'transpose_shape'
  </code></pre>
  
  <p>Seems like it has a problem with this line in the tensorflow_backend.py file:</p>
  
  <pre><code>from ..utils.generic_utils import transpose_shape
  </code></pre>
  
  <p>Help would be much appreciated!
  Cheers</p>