'exported LSTM model keep returniing same prediction and score for different data
I was working with sentiment analysis using LSTM, everything okay when I run the code and predict but when I export the model and load the model again in different notebook, my models keep returning the same result and same sentiment score. It always predict a positive sentiment, even when I test an obvious negative sentiment my model still predict positive
here's my code!
this is my colab code when I train the models
this is my colab when I loaded the model and it keeps returning positive
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
