Dear Colleagues,
I managed to handle the shape challenge, used a consistent encoding method and the models worked
I saved the models in
HDF5 file, and wanted to use it with another dataset, preprocessed using the same encoding technique
The saved model shape is (None, 50, 1), while the local dataset shape is
(57636, 60)
When loading the saved model and running with the local dataset, I get the error
ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 50, 1), found shape=(None, 60)
I tried reshaping the local dataset to (-1, 50) but got the error
ValueError: cannot reshape array of size 3458160 into shape (50,1)
Any best practices to follow and solve this problem?
Regards