Skip to content Skip to sidebar Skip to footer
Showing posts with the label Lstm

Rnn Model Predicting Only One Class?

I am trying to use GloVe embeddings to train a rnn model based on this article. I have a labeled da… Read more Rnn Model Predicting Only One Class?

Is This Correctly Work On Predict Next Value In Keras?

here is my code ... look_back = 20 train_size = int(len(data) * 0.80) test_size = len(data) - train… Read more Is This Correctly Work On Predict Next Value In Keras?

What Is A "cell Class" In Keras?

Or, more specific: what is the difference between ConvLSTM2D and ConvLSTM2DCell? What is the diffe… Read more What Is A "cell Class" In Keras?

Batch-major Vs Time-major Lstm

Do RNNs learn different dependency patterns when the input is batch-major as opposed to time-major?… Read more Batch-major Vs Time-major Lstm

Keyerror : The Tensor Variable , Refer To The Tensor Which Does Not Exists

Using LSTMCell i trained a model to do text generation . I started the tensorflow session and save… Read more Keyerror : The Tensor Variable , Refer To The Tensor Which Does Not Exists

On Training Lstms Efficiently But Well, Parallelism Vs Training Regime

For a model that I intend to spontaneously generate sequences I find that training it sample by sam… Read more On Training Lstms Efficiently But Well, Parallelism Vs Training Regime

Multirnn And Static_rnn Error: Dimensions Must Be Equal, But Are 256 And 129

I want to build an LSTM network with 3 Layers. Here's the code: num_layers=3 time_steps=10 num_… Read more Multirnn And Static_rnn Error: Dimensions Must Be Equal, But Are 256 And 129

Building Cnn + Lstm In Keras For A Regression Problem. What Are Proper Shapes?

I am working on a regression problem where I feed a set of spectograms to CNN + LSTM - architecture… Read more Building Cnn + Lstm In Keras For A Regression Problem. What Are Proper Shapes?

Error When Checking Target: Expected Dense_2 To Have 2 Dimensions, But Got Array With Shape (1, 1226, 2)

Here is the code that I am trying to run: y = Df[['label']] y_train = np.column_stack((y_… Read more Error When Checking Target: Expected Dense_2 To Have 2 Dimensions, But Got Array With Shape (1, 1226, 2)

Does Applying A Dropout Layer After The Embedding Layer Have The Same Effect As Applying The Dropout Through The Lstm Dropout Parameter?

I am slightly confused on the different ways to apply dropout to my Sequential model in Keras. My m… Read more Does Applying A Dropout Layer After The Embedding Layer Have The Same Effect As Applying The Dropout Through The Lstm Dropout Parameter?

How To Perform Multiclass Multioutput Classification Using Lstm

I have multiclass multioutput classification (see https://scikit-learn.org/stable/modules/multiclas… Read more How To Perform Multiclass Multioutput Classification Using Lstm

Understanding The Structure Of My Lstm Model

I'm trying to solve the following problem: I have time series data from a number of devices. e… Read more Understanding The Structure Of My Lstm Model

How To Fix 'input And Hidden Tensors Are Not At The Same Device' In Pytorch

When I want to put the model on the GPU, I get the following error: 'RuntimeError: Input and h… Read more How To Fix 'input And Hidden Tensors Are Not At The Same Device' In Pytorch

Timedistributed With Lstm In Keyword Spotter

I am working on a keyword spotter that processes an audio input and returns the class of the audio … Read more Timedistributed With Lstm In Keyword Spotter

How To Set Up Lstm Network For Predict Multi-sequence?

I am learning how to set up the RNN-LSTM network for prediction. I have created the dataset with on… Read more How To Set Up Lstm Network For Predict Multi-sequence?

Input Contains Nan, Infinity Or A Value Too Large For Dtype('float64') In Tensorflow

I am trying to train a LSTM and in my model I have an exponential learning rate decay and a dropout… Read more Input Contains Nan, Infinity Or A Value Too Large For Dtype('float64') In Tensorflow

Tensorflow Lstm Error (valueerror: Shapes Must Be Equal Rank, But Are 2 And 1 )

I know this questions have been asked many times but i am kind of new to tensorflow and none of the… Read more Tensorflow Lstm Error (valueerror: Shapes Must Be Equal Rank, But Are 2 And 1 )

How To Restore Punctuation Using Python?

I would like to restore commas and full stops in text without punctuation. For example, let's t… Read more How To Restore Punctuation Using Python?

How To Modify The Seq2seq Cost Function For Padded Vectors?

Tensorflow supports dynamic length sequence by use of the parameter: 'sequence_length' whil… Read more How To Modify The Seq2seq Cost Function For Padded Vectors?

Typeerror: 'nonetype' Object Is Not Callable Tensorflow

Currently working on a regression problem with tf2.0. In order to prepare my dataset, I have used t… Read more Typeerror: 'nonetype' Object Is Not Callable Tensorflow