I tried to use model = load_model('lb50_ep150_v10\my_model.h5')
however, I'm seeing the below error.
Traceback (most recent call last):
File "run.py", line 167, in
y_pred = model.predict(X)
File "C:\Users\Girish\anaconda3\envs\deepfake\lib\site-packages\keras\engine\training.py", line 1441, in predict
x, _, _ = self._standardize_user_data(x)
File "C:\Users\Girish\anaconda3\envs\deepfake\lib\site-packages\keras\engine\training.py", line 579, in _standardize_user_data
exception_prefix='input')
File "C:\Users\Girish\anaconda3\envs\deepfake\lib\site-packages\keras\engine\training_utils.py", line 145, in standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected lstm_1_input to have shape (100, 26) but got array with shape (30, 26)
Can someone please tell me how I can resolve this error?