Video Classification with CNN+LSTM - PyTorch Forums
discuss.pytorch.org › t › video-classification-withMar 01, 2021 · Hi, I have started working on Video classification with CNN+LSTM lately and would like some advice. I have 2 folders that should be treated as class and many video files in them. I want to make a well-organised dataloader just like torchvision ImageFolder function, which will take in the videos from the folder and associate it with labels. I have tried manually creating a function that stores ...
Overfitting CNN LSTM (Time Series Prediction) - PyTorch Forums
discuss.pytorch.org › t › overfitting-cnn-lstm-timeNov 09, 2021 · Overfitting CNN LSTM (Time Series Prediction) mr_cell (Mr. Cell) November 9, 2021, 5:40am #1. Hi all! I’m doing Time Series Prediction with the CNN-LSTM model, but I got overfitting condition. Here is my model code: class LSTM (nn.Module): def __init__ (self, num_classes, input_size, hidden_size, num_layers, seq_length): super (LSTM, self ...
CNN-LSTM problem - PyTorch Forums
discuss.pytorch.org › t › cnn-lstm-problemFeb 11, 2020 · I have implemented a hybdrid model with CNN & LSTM in both Keras and PyTorch, the network is composed by 4 layers of convolution with an output size of 64 and a kernel size of 5, followed by 2 LSTM layer with 128 hidden states, and then a Dense layer of 6 outputs for the classification.