ValueError: cannot reshape array of size 14333830 into shape (14130,1,1286), how do I solve this?
For doing reshaping, your new shape should match the previous shape. If you multiply 14130 * 1286, you get 18171180 which is obviously not the same as 14333830. So you must write something correct.
Getting this error in python:
ValueError: cannot reshape array of size 14333830 into shape (14130,1,1286),
How do I solve this?
This is the code generating the error:
data_train1=data_train.reshape(14130,1,1286)