Skip to content

IndexError: list index out of range #172

@tiansiyuan

Description

@tiansiyuan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions