Hello Seyed,
I understand that you are facing error with using predict function with pre-trained model on new data.
The error is most likely due to incompatible or wrong data shape for the pre-trained model. Please try to reshape the data you trying to predict on according to the pre-trained model.
if the error persists, please provide the model’s name and few data points of your dataset this would help to resolve the issue further.
Sincerely
Varun Sai