title: AttributeError: module 'tensorflow' has no attribute 'random_shuffle'
body: <p>When I try to run the code in <a href="https://machinelearningmastery.com/how-to-train-an-object-detection-model-with-keras/" rel="nofollow noreferrer">machinelearningmastery</a> , I get </p>
  
  <blockquote>
    <p>AttributeError: module 'tensorflow' has no attribute 'random_shuffle'</p>
  </blockquote>
  
  <p>And it points at the following</p>
  
  <pre><code>from mrcnn.model import MaskRCNN
  from mrcnn.config import Config
  
  model = MaskRCNN(mode='training', model_dir='./', config=config)
  </code></pre>
  
  <p>How can one solve this ?</p>