Skip to content

IndexError: list index out of range #4

@sizhongzhang1

Description

@sizhongzhang1

Hello! Your work is very exciting, but I had some problems reproducing your code

$ python train_c3d_lstm.py
No. of samples: 803
No. of samples: 803

No. of samples: 803
No. of samples: 803
Traceback (most recent call last):
File "train_c3d_lstm.py", line 153, in
main()
File "train_c3d_lstm.py", line 127, in main
train_phase(train_dataloader, optimizer, criterion, epoch)
File "D:\C3D-LSTM--PyTorch-master\data_loader.py", line 81, in getitem
images[i] = load_image_train(image_list[i], hori_flip, transform)
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions