Action-Recognition
Action-Recognition copied to clipboard
Train issue
This project is really interesting.
I tried to train the model, but i always get a random list index out of range error during the training phase.
I used torch 1.2 till 1.3.1, cuda 10.1, always the same error.
Anyone has an idea how to fix that?
python3 train.py --dataset_path data/UCF-101-frames/ --split_path data/ucfTrainTestlist --num_epochs 200 --sequence_length 20 --img_dim 112 --latent_dim 512 --batch_size 64
Namespace(batch_size=64, channels=3, checkpoint_interval=5, checkpoint_model='', dataset_path='data/UCF-101-frames/', img_dim=112, latent_dim=512, num_epochs=200, sequence_length=20, split_number=1, split_path='data/ucfTrainTestlist')
cuda
--- Epoch 0 ---
[Epoch 0/200] [Batch 22/150] [Loss: 4.612639 (4.613988), Acc: 4.69% (2.31%)] ETA: 8:49:23.620145Traceback (most recent call last):
File "train.py", line 116, in
Same error as @rebotnix
I do the vacant frame check
video_frame_paths = glob.glob(os.path.join(opt.dataset_frames_path, "*", "*")) for i, video_frame_path in enumerate(video_frame_paths): video_frame_len = len(glob.glob(os.path.join(video_frame_path, "*"))) if(video_frame_len==0): print(i, video_frame_path)
and extract frames again
@pcshih I have the same error. Which file have you made the changes to?
same error, have you solved the error yet? @rebotnix @pcshih