python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 1000), found shape=(None, 30
I need help with this error. I am attempting to train my LSTM model after training the neural network and fine-tuning
history = model.fit(XTrain ,yTrain, batch_size=250, epochs=100, validation_split=0...
Celestine Akpanoko
Votes: 0
Answers: 0
Pytorch-> LSTM-> RuntimeError: input must have 3 dimensions, got 2
I'm facing error in LSTM input dimensions with following model code:
class Model(nn.Module):
def __init__(self, input_size, hidden_size, num_layers, num_keys):
super(Model, self).__init__()
se...
annonyos
Votes: 0
Answers: 1
LSTM with changing batch size while training
I'm trying to build an LSTM on app-log data from different users. I have one big dataframe consisting of stacked app records of the users, so for example the first 1500 rows are for user 1, the follow...
Lilli Meier
Votes: 0
Answers: 1
Form input data using the lstm for time series problem
I have a dataset which contains informations about plants like ID,age, weight, petal color, height, date and time on which the information is taken. Height is the target, so i want to predict height.
...
Fancq
Votes: 0
Answers: 0