Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #172

Open
tiansiyuan opened this issue Sep 20, 2023 · 0 comments
Open

IndexError: list index out of range #172

tiansiyuan opened this issue Sep 20, 2023 · 0 comments

Comments

@tiansiyuan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant