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

Have predicted depth as expected_depth so gradients can be computed #2852

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

mattstrong-stanford
Copy link
Contributor

In direct depth supervision methods, calling depth_loss will not work unless we can compute gradients on the predicted depth. The predicted depth right now is a median and there are no gradients that can be computed. I have changed it to expected depth to allow direct depth supervision methods to work.

Copy link
Contributor

@AdamRashid96 AdamRashid96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kerrj kerrj enabled auto-merge (squash) January 31, 2024 03:24
@kerrj kerrj merged commit ebbebda into nerfstudio-project:main Jan 31, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants