Top "Lstm" questions

Long short-term memory.

Error when checking model input: expected lstm_1_input to have 3 dimensions, but got array with shape (339732, 29)

My input is simply a csv file with 339732 rows and two columns : the first being 29 feature values, i.e. X …

python keras lstm recurrent-neural-network valueerror
Tensorflow - ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type float)

Continuation from previous question: Tensorflow - TypeError: 'int' object is not iterable My training data is a list of lists …

python tensorflow keras lstm
PyTorch - contiguous()

I was going through this example of a LSTM language model on github (link). What it does in general is …

neural-network deep-learning lstm pytorch contiguous
Understanding Keras LSTMs

I am trying to reconcile my understand of LSTMs and pointed out here in this post by Christopher Olah implemented …

python deep-learning keras lstm
What's the difference between a bidirectional LSTM and an LSTM?

Can someone please explain this? I know bidirectional LSTMs have a forward and backward pass but what is the advantage …

machine-learning neural-network keras lstm recurrent-neural-network
ValueError: Input 0 is incompatible with layer lstm_13: expected ndim=3, found ndim=4

I am trying for multi-class classification and here are the details of my training input and output: train_input.shape= (1, 95000, 360) (95000 …

python keras lstm recurrent-neural-network
How to deal with batches with variable-length sequences in TensorFlow?

I was trying to use an RNN (specifically, LSTM) for sequence prediction. However, I ran into an issue with variable …

python tensorflow lstm recurrent-neural-network
How to stack multiple lstm in keras?

I am using deep learning library keras and trying to stack multiple LSTM with no luck. Below is my code …

tensorflow deep-learning keras lstm keras-layer
How do I create a variable-length input LSTM in Keras?

I am trying to do some vanilla pattern recognition with an LSTM using Keras to predict the next element in …

python-3.x keras lstm recurrent-neural-network variable-length
What is num_units in tensorflow BasicLSTMCell?

In MNIST LSTM examples, I don't understand what "hidden layer" means. Is it the imaginary-layer formed when you represent an …

tensorflow neural-network lstm recurrent-neural-network