i am new to python. i am working on lstm model. i want to plot graph of loss and accuracy. i know that model history is also saved. i have used below code. but I am getting