princeton-vl/RAFT

IndexError: list index out of range

tiansiyuan opened this issue · 0 comments

When run:

python evaluate.py --model=models/raft-things.pth --dataset=sintel --mixed_precision

Traceback (most recent call last):
File "/home/jovyan/RAFT/evaluate.py", line 192, in
validate_sintel(model.module)
File "/opt/conda/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/jovyan/RAFT/evaluate.py", line 105, in validate_sintel
image1, image2, flow_gt, _ = val_dataset[val_id]
File "/home/jovyan/RAFT/core/datasets.py", line 58, in getitem
flow = frame_utils.read_gen(self.flow_list[index])
IndexError: list index out of range