princeton-vl / RAFT

BSD 3-Clause "New" or "Revised" License
3.12k stars 621 forks source link

IndexError: list index out of range #172

Open tiansiyuan opened 10 months ago

tiansiyuan commented 10 months ago

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, flowgt, = 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