lstm Questions

3

Solved

Currently i think i'm experiencing a systematic offset in a LSTM model, between the predictions and the ground truth values. What's the best approach to continue further from now on? The model arc...
Connote asked 25/1, 2019 at 15:50

6

Solved

I have this code on google colab which allows me to optimise an LSTM model using gridsearchCV, but recently an error message has appeared: ModuleNotFoundError: No module named 'keras.wrappers'. is ...
Odelia asked 14/9, 2023 at 10:42

3

I am creating a chatbot trained on Cornell Movie Dialogs Corpus using NMT. I am basing my code in part from https://github.com/bshao001/ChatLearner and https://github.com/chiphuyen/stanford-tensor...
Boult asked 28/9, 2018 at 21:34

19

Solved

Continuation from previous question: Tensorflow - TypeError: 'int' object is not iterable My training data is a list of lists each comprised of 1000 floats. For example, x_train[0] = [0.0, ...
Manakin asked 31/10, 2019 at 2:18

3

Solved

The dimensions for the input data for LSTM are [Batch Size, Sequence Length, Input Dimension] in tensorflow. What is the meaning of Sequence Length & Input Dimension ? How do we assign the v...
Whiten asked 30/3, 2018 at 11:6

3

I have been working on a project for estimating the traffic flow using time series data combine with weather data. I am using a window of 30 values for my time series and I am using 20 weather rela...
Sippet asked 20/3, 2021 at 4:48

1

Long story short: How to prepare data for lstm object detection retraining of the tensorflow master github implementation. Long story: Hi all, I recently found implementation a lstm object detec...

2

I developed a time series model with LSTM. I can't use it for predicting stock price in future days. I want to use it for predicting stock price for next year and plot it. How to use it for forecas...
Oao asked 31/10, 2021 at 10:20

2

Solved

I am working on a Time Series Forecasting problem using LSTM. The input contains several features, so I am using a Multivariate LSTM. The problem is that there are some missing values, for example...
Tintinnabulation asked 29/9, 2018 at 16:13

3

I would like to know more details about the merge mode when using Bidirectional LSTM for sequence classification, and especially for the "Concat" merge mode which is still quite unclear t...
Kinsler asked 20/7, 2020 at 8:4

3

I am running the following code for LSTM on Databricks with GPU model = Sequential() model.add(LSTM(64, activation=LeakyReLU(alpha=0.05), batch_input_shape=(1, timesteps, n_features), stateful=Fa...
Gavra asked 19/8, 2021 at 8:54

2

Solved

I'm trying to train Tesseract 4 with images instead of fonts. In the docs they are explaining only the approach with fonts, not with images. I know how it works, when I use a prior version of T...
Erysipelas asked 11/4, 2017 at 17:47

10

I have run the model with LSTM as the first layer successfully. But out of curiosity, I replace LSTM with CuDNNLSTM. But after model.fit, it replied the following error message: UnknownError: Fail...
Orthodontia asked 1/2, 2019 at 5:13

8

After training a PyTorch model on a GPU for several hours, the program fails with the error RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR Training Conditions Neural Network: PyTorch...
Nomenclator asked 28/5, 2020 at 14:57

3

Solved

Hi I have a question about how to collect the correct result from a BI-LSTM module’s output. Suppose I have a 10-length sequence feeding into a single-layer LSTM module with 100 hidden units: lst...
Hilbert asked 26/10, 2018 at 14:1

2

Solved

I am working in RNN. I have following lines of code from some site. If you observe second layer has no "returnSequence" parameter. I am assuming return sequence is mandatory as it should return th...
Knife asked 17/7, 2018 at 8:37

2

Solved

I am trying to import LSTM in python from keras.layers.recurrent import LSTM However, I get below error message on compilation: ModuleNotFoundError: No module named 'keras.layers.recurrent' Can so...

1

Solved

I have the tabular data. Some of the columns contain the text data. As you can see In the picture. After cleaning the text I converted text into matrixes and object data types into categories. ids_...
Chronon asked 8/9, 2021 at 17:28

4

Solved

(NOTE: Properly fixing the RNG state before each model creating as described in comment in comment practically fixed my problem, as within 3 decimals results are consistent, but they aren't exactly...
Oday asked 8/9, 2017 at 15:3

2

Solved

I am new to deep learning and currently working on using LSTMs for language modeling. I was looking at the pytorch documentation and was confused by it. If I create a nn.LSTM(input_size, hidden_...
Montalvo asked 11/3, 2018 at 19:53

6

I'm using tensorflow2.4, and new to tensorflow Here's the code model = Sequential() model.add(LSTM(32, input_shape=(X_train.shape[1:]))) model.add(Dropout(0.2)) model.add(Dense(1, activation='linea...
Bracci asked 13/1, 2021 at 7:49

2

Solved

I'm working on a seq2sql project and I successfully build a model but when training I get an error. I'm not using any Keras embedding layer. M=13 #Question Length d=40 #Dimention of the LSTM C=12 ...
Interblend asked 11/1, 2019 at 5:58

3

I am new to machine learning, so please go easy in case the problem is trivial. I have been given a sequence of observed characters say, ABABBABBB..... (n characters). My goal is to predict the ne...
Pontus asked 12/3, 2017 at 13:30

3

Solved

I am facing an issue when trying to use CuDNNLSTM instead of keras.layers.LSTM. This is the error I am getting: Failed to call ThenRnnForward with model config: [rnn_mode, rnn_input_mode, rnn_dire...
Nguyetni asked 29/12, 2018 at 19:41

2

I would like to use a tree-LSTM in keras, similar to what is described in this article: https://arxiv.org/abs/1503.00075. It is essentially similar to a Long Short-Term Memory network, but with a t...
Epiclesis asked 15/10, 2017 at 18:24

© 2022 - 2025 — McMap. All rights reserved.