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 ...
python - Pytorch,How to feed output of CNN into input of ...
https://stackoverflow.com/questions/6231897010.06.2020 · I am new to CNN, RNN and deep learning. I am trying to make architecture that will combine CNN and RNN. input image size = [20,3,48,48] a CNN output size = [20,64,48,48] and now i want cnn ouput to be RNN input but as I know the input of RNN must be 3-dimension only which is [seq_len, batch, input_size] How can I make 4-dimensional [20,64,48,48] tensor into 3 …