LSTM code taking infinite time to run

Hi there. I have been using Rstudio for quite some time but never did LSTM on there.
First time I am trying the code from library(keras) and (tensorflow)

But it's been like 2 hours already and it is still on running. What should I do please? I have tried closing Rstudio and restart everything but still not solvable. Anyone has a solution to this problem please?

lstm_model <- keras_model_sequential()

What you are describing doesn't seem to be an error but simply the way things are, training machine learning models is computationally intensive, if you are training models using your CPU, most likely is going to take a lot of time. If you have a GPU at your disposal, look into enabling GPU acceleration.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.