Action-Recognition
Action-Recognition copied to clipboard
list index out of range when start training
Hello, I'm trying to start training with the UCF-101 dataset.
I've done a few adaptations on your code to get where I am now.
I downloaded the ucf 101 dataset in .avi. I then extracted all of the frames using extract_frames.py
After, I downloaded the train and test split files for the dataset from here ,
https://github.com/yjxiong/temporal-segment-networks/issues/177
for the split_path argument I'm passing the path to the folder ( named ucfTrainTestlist ) containing classInd.txt , testlist01.txt , trainlist01.txt
Here are the args im passing to start traning:
python train.py --dataset_path data/frames/-frames/data/frames --split_path ucfTrainTestlist/ --split_number 1
and here is the error I'm getting:
--- Epoch 0 ---
Traceback (most recent call last):
File "train.py", line 115, in
I point the dataset_path to the folder called frames and inside this folder the video frames are divided in sub folders. These sub folders are named after the names of each video.
please check if there is no frame after extract_frames.py