title: Numpy can't convert list to np array
body: <p>I have a python list than includes 90900 nparrays shaped <code>(299, 299, 3)</code>. I tried to convert this list to numpy array </p>
  
  <pre><code>X_trains = np.asarray(X_train).reshape((len(X_train),299,299,3))
  </code></pre>
  
  <p>However, this gave me the error: </p>
  
  <blockquote>
    <p>ValueError: could not broadcast input array from shape (299,299,3)
    into shape (299,299)</p>
  </blockquote>
  
  <p>I suppose that the part of the code that cause the error is np.asarray, is there any way to fix that?</p>
  
  <p>Full error code:</p>
  
  <pre><code>ValueErrorTraceback (most recent call last)
  &lt;ipython-input-34-2ba5db77f6b1&gt; in &lt;module&gt;()
    1 
    2 
  ----&gt; 3 X_trains = np.asarray(X_train)
  
  /usr/local/lib/python3.4/dist-packages/numpy/core/numeric.py in asarray(a,          dtype, order)
  529 
  530     """
  --&gt; 531     return array(a, dtype, copy=False, order=order)
  532 
  533 
  
  ValueError: could not broadcast input array from shape (299,299,3) into shape (299,299)
  </code></pre>