title: AttributeError: 'NoneType' object has no attribute 'reshape'
body: <p>i run this code.</p>
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  from PIL import Image
  X_train = plt.imread('00_0.9944__20150716_131647_04249_074.raw_color.bmp')
  type(X_train)
  X_train = X_train.resize((32, 32))    
  X_train = X_train.reshape((len(X_train), 3, 32, 32))
  </code></pre>
  <p>then, it throws</p>
  <blockquote>
  <p>X_train = X_train.reshape((len(X_train), 3, 32, 32))</p>
  <p>AttributeError: 'NoneType' object has no attribute 'reshape'</p>
  </blockquote>
  <p>using img size is 207x209. Please help me. Thank you.</p>