DGMM icon indicating copy to clipboard operation
DGMM copied to clipboard

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

Open Magicyp opened this issue 2 years ago • 1 comments

Magicyp avatar Oct 25 '22 11:10 Magicyp

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