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

Indexing out of bounds for Palace of Fine Arts #465

Open
johnwlambert opened this issue Mar 9, 2022 · 0 comments
Open

Indexing out of bounds for Palace of Fine Arts #465

johnwlambert opened this issue Mar 9, 2022 · 0 comments

Comments

@johnwlambert
Copy link
Collaborator

Very rarely (but sometimes), we get an indexing out of bounds issue for (sift_front_end, palace-fine-arts-281, 25, jpg, wget, olsson-loader, 320, true)

Benchmark (sift_front_end, palace-fine-arts-281, 25, jpg, wget, olsson-loader, 320, true)

This suggests some indexing is incorrect:

[2022-02-17 15:37:07,505 INFO loader_base.py line 158 4819] Image 256 resized from (H,W)=(1296,1936) -> (320,478)
Traceback (most recent call last):
  File "gtsfm/runner/run_scene_optimizer_olssonloader.py", line 41, in <module>
    runner.run()
  File "/home/runner/work/gtsfm/gtsfm/gtsfm/runner/gtsfm_runner_base.py", line 106, in run
    sfm_result = sfm_result_graph.compute()
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/dask/base.py", line 290, in compute
    (result,) = compute(self, traverse=False, **kwargs)
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/dask/base.py", line 573, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/client.py", line 2994, in get
    results = self.gather(packed, asynchronous=asynchronous, direct=direct)
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/client.py", line 2146, in gather
    return self.sync(
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/utils.py", line 309, in sync
    return sync(
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/utils.py", line 376, in sync
    raise exc.with_traceback(tb)
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/utils.py", line 349, in f
    result = yield future
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/tornado/gen.py", line 762, in run
    value = future.result()
  File "/usr/share/miniconda3/envs/gtsfm-v1/lib/python3.8/site-packages/distributed/client.py", line 2009, in _gather
    raise exception.with_traceback(traceback)
  File "/home/runner/work/gtsfm/gtsfm/gtsfm/frontend/verifier/ransac.py", line 100, in verify
    uv_norm_i1[match_indices[:, 0]],
IndexError: index 1087 is out of bounds for axis 0 with size 1086
Error: Process completed with exit code 1.
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