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

pairs.txt missing in Dense pipeline #42

Open
cdcseacave opened this issue Feb 20, 2024 · 1 comment
Open

pairs.txt missing in Dense pipeline #42

cdcseacave opened this issue Feb 20, 2024 · 1 comment

Comments

@cdcseacave
Copy link

I'm trying to test using this command:

bash run_neuralangelo-colmap_dense.sh ~/data/truck

but I get this error:

---colmap2mvsnet---
Traceback (most recent call last):
  File "/home/ubuntu/Instant-angelo/third_party/Vis-MVSNet/colmap2mvsnet.py", line 354, in <module>
    zs.append(np.asscalar(transformed[2]))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/numpy/__init__.py", line 328, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'asscalar'. Did you mean: 'isscalar'?
Traceback (most recent call last):
  File "/home/ubuntu/Instant-angelo/third_party/Vis-MVSNet/test.py", line 63, in <module>
    dataset, loader = get_val_loader(
  File "/home/ubuntu/Instant-angelo/third_party/Vis-MVSNet/data/general.py", line 78, in get_val_loader
    dataset = MyDataset(
  File "/home/ubuntu/Instant-angelo/third_party/Vis-MVSNet/data/general.py", line 19, in __init__
    self.pair = load_pair(os.path.join(self.root, f'pair.txt'))
  File "/home/ubuntu/Instant-angelo/third_party/Vis-MVSNet/utils/io_utils.py", line 13, in load_pair
    with open(file) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/data/truck/dense/pair.txt'

It is used in several places, but nobody generates that file. From where should I get it?

@xsl316
Copy link

xsl316 commented Nov 26, 2024

pairs.txt is generated when calling the colmap2mvsnet.py file

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

2 participants