ValueError: could not broadcast input array from shape (224,224,3) into shape (224,224) : <p>I have a list say, temp_list with following properties :  </p>

<pre><code>len(temp_list) = 9260  
temp_list[0].shape = (224,224,3)  
</code></pre>

<p>Now, when I am converting into numpy array,  </p>

<pre><code>x = np.array(temp_list)  
</code></pre>

<p>I am getting the error :  </p>

<pre><code>ValueError: could not broadcast input array from shape (224,224,3) into shape (224,224)  
</code></pre>

<p>Can someone help me here?</p>
