title: ValueError: could not broadcast input array from shape (110,110,3) into shape (110,110)
body: <p>I'm building a neural network and I'm trying to load colored images into the network but I keep getting a reshaping error. I resized all of the images to the smallest dimensions (in this case 110 x 110) but when I try to convert the X (an unflattened 3d list of the pixels of each image) to a numpy array to be called xTrain with this line of code:</p>
  <p><code>xTrain = np.array(X[:trainNum])</code></p>
  <p>i get this error: &quot;ValueError: could not broadcast input array from shape (110,110,3) into shape (110,110)&quot;</p>
  <p>does anyone know why it keeps doing that? i assume it's because of my data because my partner copied the same exact code with his own images and the conversion to a numpy array was successful but mine isn't. for reference the list titled X is in this format:</p>
  <pre><code>[array([[[137, 151, 199],
      [ 93, 114, 166],
      [116, 121, 164],
      ...,
      [124, 124, 175],
      [160, 162, 193],
      [154, 157, 177]],
  
     [[ 81,  94, 153],
      [106, 123, 184],
      [119, 124, 180],...
  </code></pre>
  <p>how do I fix this?</p>