Python Array Reshaping Issue to Array with Shape (None, 192)
<p>I have this error and I'm not sure how do I reshape where there's a dimension with <code>None</code>.</p>

<pre><code>Exception: Error when checking : expected input_1 to have shape (None, 192) but got array with shape (192, 1)
</code></pre>

<p>How do I reshape an array to (None, 192)? </p>

<p>I've the array <code>accuracy</code> with shape <code>(12, 16)</code> and I did <code>accuracy.reshape(-1)</code> that gives <code>(192,)</code>. However this is not <code>(None, 192)</code>.</p>

<p>This is an error in the library code, because <code>(None, 192)</code> is an invalid shape for a numpy array - the shape must be a tuple of integers.  </p>

<p>To investigate any further, we'll have to see the traceback and/or the code which is raising that exception.  </p>

python numpy keras