DGMM icon indicating copy to clipboard operation
DGMM copied to clipboard

shape doesn't fit into array

Open GokulAarthishwaran opened this issue 4 years ago • 1 comments

Error when checking input: expected input_1 to have shape (28, 28, 1) but got array with shape (1, 28, 28)

GokulAarthishwaran avatar Nov 02 '20 14:11 GokulAarthishwaran

You should adjust the order of matrix dimensions through transpose. For example, a=a.transmit (2,0,1).

lizhuang-blog avatar Nov 05 '22 02:11 lizhuang-blog