facebookresearch / DistDepth

Repository for "Toward Practical Monocular Indoor Depth Estimation" (CVPR 2022)
Other
216 stars 20 forks source link

smooth_loss function #9

Open gaoxiaomingming opened 2 years ago

gaoxiaomingming commented 2 years ago

Thank you so much for release your code!!! I have a little question when reading your code. What does smooth_loss function do? Can I use it to guarantee continuity in x or y direction?

choyingw commented 2 years ago

It aims at regularizing spatial continuity, see layers.py L190 with color pixel awareness. Positions where color pixels have salient gradient will contribution less to the smoothness

gaoxiaomingming commented 2 years ago

这是来自QQ邮箱的自动回复邮件。你好,我是高小茗,邮件已收到,我将尽快给你回复,谢谢。