cleinc / bts

From Big to Small: Multi-Scale Local Planar Guidance for Monocular Depth Estimation
GNU General Public License v3.0
635 stars 179 forks source link

Loss on raw depth from sensor #113

Closed progwiz closed 3 years ago

progwiz commented 3 years ago

Hello,

I am trying to train the model on my own dataset. Raw depth data from the sensor typically has many zero valued pixels in it (around occlusions etc.). Can you tell us how you calculate the loss for such pixels, are they ignored in the provided implementation?

cogaplex-bts commented 3 years ago

@progwiz You are right. In our implementation, loss is defined only for pixels that have depth values.

progwiz commented 3 years ago

Thank you