Thank for the answer, my dataset is divided in 3 folder : 1 to training-set, 1 to test-set and another for validation-set, in the training set folder I have 6 different action folder (I divided it because I have to keep labels for dataset and I don’t know how is doing also that) that contains another 25 folder that describe 25 people doing action and in every 25 folder there are sequence frame(.jpg) , now I want to train a LSTM model but I need to load this images together because I need to mantain sequence for my task of video classification
train-----boxing,jogging etc------- person1_boxing-------0001.jpg