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

How Can I Grid Search Different Values For My Keras Model In Python?

I've implemented a LSTM in keras. In that I am using the following three values: embedding_siz… Read more How Can I Grid Search Different Values For My Keras Model In Python?

Tensorflow: Shared Variables Error With Simple Lstm Network

I am trying to build a simplest possible LSTM network. Just want it to predict the next value in th… Read more Tensorflow: Shared Variables Error With Simple Lstm Network

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

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?

Merge Or Append Multiple Keras Timeseriesgenerator Objects Into One

I'm trying to make a LSTM model. The data is coming from a csv file that contains values for mu… Read more Merge Or Append Multiple Keras Timeseriesgenerator Objects Into One

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

Tensorflow Valueerror: Shapes (?, 1) And (?,) Are Incompatible

I'm facing this error when running my code with 3 lstm layers. Not sure how to fix it. Can anyo… Read more Tensorflow Valueerror: Shapes (?, 1) And (?,) Are Incompatible

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

Why This Tensorflow Tutorial Code Not Working

Now i'm trying lstm tutorial, look some one's book. But it didn't work. What's the … Read more Why This Tensorflow Tutorial Code Not Working

Deep Learning (lstm) With Keras And Variable Size Of Inputs

I am trying to implement a lstm model with keras. The problem is that I have data of different shap… Read more Deep Learning (lstm) With Keras And Variable Size Of Inputs

How To Handle Lstms With Many Features In Python?

I have a binary classification problem. I use the following keras model to do my classification. in… Read more How To Handle Lstms With Many Features In Python?

Resourceexhaustederror :oom When Allocating Tensor With Shape []

def RNN(X, weights, biases): X = tf.reshape(X, [-1, n_inputs]) X_in = tf.matmul(X, weights[… Read more Resourceexhaustederror :oom When Allocating Tensor With Shape []

Failed To Convert A Numpy Array To A Tensor (unsupported Object Type Dict)

my method i thought that the problem from it is history = model.fit_generator(train_generator, epo… Read more Failed To Convert A Numpy Array To A Tensor (unsupported Object Type Dict)

What Is The Fastest Way To Prepare Data For Rnn With Numpy?

I currently have a (1631160,78) np array as my input to a neural network. I would like to try somet… Read more What Is The Fastest Way To Prepare Data For Rnn With Numpy?

Keras Attention Layer Over Lstm

I'm using keras 1.0.1 I'm trying to add an attention layer on top of an LSTM. This is what … Read more Keras Attention Layer Over Lstm

Lstm To Forecast Numerical Data By Having Categorical Data As Input

I have a similar DataFrame: df = pd.DataFrame([ {'date':'2021-01-15', 'value… Read more Lstm To Forecast Numerical Data By Having Categorical Data As Input

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)

Creating Sequence Vector From Text In Python

I am now trying to prepare the input data for LSTM-based NN. I have some big number of text documen… Read more Creating Sequence Vector From Text In Python

How To Extract Cell State Of LSTM Model Through Model.fit()?

My LSTM model is like this, and I would like to get state_c def _get_model(input_shape, latent_dim,… Read more How To Extract Cell State Of LSTM Model Through Model.fit()?