alexklwong / calibrated-backprojection-network

PyTorch Implementation of Unsupervised Depth Completion with Calibrated Backprojection Layers (ORAL, ICCV 2021)
Other
121 stars 23 forks source link

min/max_predict_depth #22

Closed 2016choang closed 1 year ago

2016choang commented 1 year ago

Hello Alex, thank you for releasing this work!

I had a quick question: what is the purpose of min_predict_depth and max_predict_depth / what do these two lines do? https://github.com/alexklwong/calibrated-backprojection-network/blob/master/src/kbnet_model.py#L183-L184

From my interpretation, it does not seem to be scaling the output_depth to be between the min_predict_depth and max_predict_depth.

Thank you!

alexklwong commented 1 year ago

Hi, this is just a way to treat the output_depth variable as inverse depth but keep it within the approximate range of min and max predict depth