Hi, I am working with CNN in pytorch.
I trained my CNN model but while I am trying to predict my testing data it shows an error message which says:
data = data.view(-1,1,32,200)
RuntimeError: shape ‘[-1,1,32,200]’ is invalid for input of size 3200
I have total 10000 data for testing. During the model training, everything was okay and my model has been trained as well. But now It shoes some error in the testing data.
My training data shape was [-1,1,32,200] as well.