sniklaus / 3d-ken-burns

an implementation of 3D Ken Burns Effect from a Single Image using PyTorch
Other
1.51k stars 224 forks source link

Question about loss func for depth estimation #28

Closed andriyrizhiy closed 4 years ago

andriyrizhiy commented 4 years ago

image Can you show the implementation of the loss function? Because i don't understand how "i,j" change for each "h" in grad part of loss

sniklaus commented 4 years ago

You can find an implementation of this loss here: https://github.com/lmb-freiburg/demon/blob/40806b2b9541a6eb0d6275cc548a53eebbf01273/python/depthmotionnet/v2/losses.py#L57