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

How are the gradients for the image information loss computed for backprop? #23

Open
rakshith95 opened this issue Feb 8, 2023 · 0 comments

Comments

@rakshith95
Copy link

rakshith95 commented Feb 8, 2023

Hello,
I was wondering how the gradients for the loss function of , say color consistency loss, are computed wrt the weights by backprop.

You have your depth d at a coordinate which is a function of your weights, say X at a pixel location i, i.e. d(X,i) .
From this depth, you get your warped image coordinate, say W(d). For the color consistency, you compare the pixel values of the source image, and warped image, which would be some difference between img(i) and img(W(d(X,i) ) .

Numerically, I can see how you can obtain the derivative of this function wrt the weights, but how does auto-differentiation do it analytically, since img(i) cannot really be stated analytically?

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