DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
ValueError: cannot reshape array of size 98292 into shape (16382,1,28) site:stackoverflow.com
trainX = train[:, 1:].reshape(train.shape[0],1,28).astype( 'float32' ) X_train = trainX / 255.0
Source by dtuto.com #
PREVIOUS
NEXT
Tagged:
#reshape
#array
#size
#shape
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit