How can I access to loss value in Keras LSTM implementation? I use Keras library and it's LSTM model. When I train my network I can see loss value in my program execution console. I like to know how can I access to this value in my code?
You can access it by assigning a variable when calling fit

hist = model.fit(X, y)


Where hist is a dictionary containing history of various variables during training. To get your training loss you would do hist['loss']