python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Torch taking 4X time than keras
We have a run a LSTM Model for binary classification having multiple sequential inputs whose output is concatenated for classification. Below is the torch model.
import pandas as pd
import time
from ...
Akshay Verma
Votes: 0
Answers: 0
Understanding Pytorch LSTM Model Architecture
I put my LSTM model code below and I am not quite sure what my model actually looks like or how I would change it.
For example. What would my model look like with these params:
n_features = 5
n_layers...
patrick823
Votes: 0
Answers: 0
Tensorflow - LSTM RNN overfitting more on Dropout
I have developed a LSTM and applied a dropout rate of 0.2 to all layers (including input).
The model has massive overfitting, meaning that its performance on the training sets increases while the perf...
AnonRocketman
Votes: 0
Answers: 0
ValueError: Can not squeeze dim[1], expected a dimension of 1 for '{{node binary_crossentropy/weighted_loss/Squeeze}}
I'm trying to fit a LSTM-model to my data with a Masking Layer in front and I get this error:
ValueError: Can not squeeze dim[1], expected a dimension of 1, got 4 for '{{node binary_crossentropy/weigh...

Tobias Braun
Votes: 0
Answers: 1