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 with own data #43

Open
thunders82 opened this issue Nov 26, 2022 · 0 comments
Open

error with own data #43

thunders82 opened this issue Nov 26, 2022 · 0 comments

Comments

@thunders82
Copy link

Hi,
Thank you for your work. Everything seems to work well except if I use my own data.
This error happens:

Traceback (most recent call last):
File "run.py", line 19, in
depth_priors.train(args)
File "/mnt/work/Dev/Sources/mesh_refinement/NerfingMVS-main/src/depth_priors.py", line 86, in train
loss = compute_depth_loss(depth_pred, depth_gt, mask_gt)
File "/mnt/work/Dev/Sources/mesh_refinement/NerfingMVS-main/utils/depth_priors_utils.py", line 6, in compute_depth_loss
log_pred = torch.log(pred[mask])
IndexError: too many indices for tensor of dimension 1

not sure what's happening. Do you have any idea?

thank you

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