Questions tagged [lstm]
Long short-term memory. A neural network (NN) architecture that contains recurrent NN blocks that can remember a value for an arbitrary length of time. A very popular building block for deep NN.
lstm
6,305
questions
0
votes
0
answers
17
views
LSTM With DiffSharp
I'm trying to convert the full code of the example shown on this webpage: https://machinelearningmastery.com/lstm-for-time-series-prediction-in-pytorch/ which involves implementation of an LSTM.
My ...
0
votes
0
answers
13
views
how can I input RGB images into the LSTM network?
I want to input 300 RGB (224*224) photos into LSTM network. I am new and I don't know how to write input_shape.
I write input shape into the 224*224 an there is a error here
` `ValueError: Exception ...
-1
votes
0
answers
16
views
Predictions in all data points in same batch are almost the same with no changes in between
The model barely changes it's predictions for data points within the same batch. I have 2 assumptions that may be causing this: 1. The data known to the model is only that of the past batch and doesn'...
-1
votes
0
answers
22
views
Why is my model LSTM predict not close actual value?
I am trying to build a model Gru forecasting multivariate for my AI Assigment. And I chosen Gru for predict number of profile will arise in the future (about 1 month). And i have dataset like this:
...
0
votes
1
answer
45
views
CrossEntropyLoss on PyTorch LSTM model with one classification per timestep
I am trying to make an LSTM model that will detect anomalies in timeseries data. It takes 5 inputs and produces 1 boolean output (True/False if anomaly is detected). The anomaly pattern will usually ...
0
votes
0
answers
28
views
How LSTM works for dataset by the shape (batch_size, num_word, dim)?
You have a batch of sentences that each sentence can be represented by the shape (num_word, dim) You feed dataset shape=(batch_size, num_word, dim) into an LSTM layer. Please Explain how the output of ...
0
votes
0
answers
32
views
LSTM vs. XGBoost for one step ahead predictions: Why does LSTM in this code perform so worse?
I am working on generating recursive one-step-ahead predictions for a time series y using a minimal set of regressors. I have found that linear models all perform similarly and fail to outperform ...
1
vote
0
answers
12
views
Problems with LSTM: Training vs Validation Loss Graph Fluctuations [closed]
I am trying to make an LSTM to predict the angles of the double pendulum. Although the results I got are promising, I am concerned about the training/validation loss graph that I generated. In this ...
-1
votes
0
answers
20
views
How to use supervised ML for time series predictions when the feature vector for the target value is known?
I am trying to use an LSTM to predict the consecutive "offset" calibration values for an instrument. These offset values have previously been shown to be well correlated with a pair of ...
0
votes
1
answer
25
views
Difference between the expected input tensor order for LSTM and Conv1d?
I am working with time series data and have noticed a discrepancy in the input tensor order required for LSTM and Conv1d/BatchNorm1d/Dropout1d layers in PyTorch. For example, say I have an input ...
0
votes
0
answers
53
views
LSTM Model doesn't train
I am trying to find the chemical state of a particle with deep learning. As inputs I have the position of the particle according to time in X_train with shape (num_train,sequence_length). (My sequence ...
0
votes
0
answers
29
views
LSTM Prediction Issue: Not Predicting Last Record and Backward Prediction Behavior
I'm conducting some tests with LSTM for learning purposes, but I've encountered a peculiar situation while testing its predictions.
I've observed in the graph images that it doesn't predict the last ...
0
votes
0
answers
16
views
How to concatenate inputs parameters to the CNN_M_LSTM model?
I try to feed the the energy consumption with timestamp dataset and covid dataset into the CNN_M_LSTM model (library Tensorflow and Keras API).
Energy consumption with timestamp dataset has the size (...
0
votes
0
answers
17
views
Arguments received by TimeDistributed.call():
im trying to doing a video classification dl project.
preprocessing: from each video, i took 20 frames and reshaped them and added them to a list , my x.shape looks like this --> (None, 20, 224, ...
0
votes
0
answers
24
views
How to concatenate 3 inputs parameters to the CNN_M_LSTM model using keras?
I try to feed the the energy consumption with timestamp dataset and covid dataset into the CNN_M_LSTM model (library Tensorflow).
Energy consumption and timestamp has the size (70082, 2)
Covid dataset ...