abeardear/pytorch-YOLO-v1

IndexError: list index out of range

omg777 opened this issue · 1 comments

    num_faces = int(splited[1])
IndexError: list index out of range

I changed file_root and test_root in train.py
then run train.py, the error occurs.

and I want to ask you what is the role of dataset.py.
thanks for your nice work!

dataset.py is a custom dataloader, it is common in pytorch.

list index out of range means your splited list is wrong