Acc and val_acc not increasing even by changing the parameters

I followed the video and My model got stuck at 50% training as well as validation accuracy. I tried changing the learning rate of optimizer but that didn’t change anything the same happened by changing the RNN layer parameters.
can u look into my code and point the error?

https://colab.research.google.com/drive/1k3EHAU0UU97xfjgNPiMSlFg5X07y6r8k

Hey @nuts2021, your code was fine but there was one silly mistake

model.add(Dense(1,activation=‘sigmoid’))

You passed wrong activation function in the last layer, it should be sigmoid and not softmax.

Hope this cleared your doubt. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.