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

Error #51

Open
huzijian0622 opened this issue Nov 10, 2023 · 0 comments
Open

Error #51

huzijian0622 opened this issue Nov 10, 2023 · 0 comments

Comments

@huzijian0622
Copy link

hello, I met a problem when i run the prepare_data_cache.sh and i set the img_scale to 2 , the problem is:
Traceback (most recent call last):
File "tools/prepare_data/prepare_data_cache.py", line 177, in
dataset = dataset_dictargs.dataset_name
File "/root/repo/huzijian/NeuralRecon-W/./datasets/phototourism.py", line 124, in init
self.read_meta()
File "/root/repo/huzijian/NeuralRecon-W/./datasets/phototourism.py", line 667, in read_meta
pad_ind = torch.floor((torch.rand(padding_length) * valid_num)).long()
RuntimeError: Trying to create tensor with negative dimension -2439: [-2439]

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