zzangjinsun / NLSPN_ECCV20

Park et al., Non-Local Spatial Propagation Network for Depth Completion, ECCV, 2020
MIT License
321 stars 57 forks source link

Initial Depth Prediction vs Final Depth Prediction #17

Closed dronefreak closed 3 years ago

dronefreak commented 3 years ago

Hi @zzangjinsun

I was hoping if you could provide some insights regarding the quantifiable differences between the initial depth prediction (after the Enc-Dec) and the final depth prediction (after SPN and affinity norm), it would be great. Is the initial depth not dense enough? Does it still have invalid values? What is the RMSE that you obtain on the initial depth prediction? I am currently working on building a real-time solution so it would be nice if you could provide me with some details. Thanks.

zzangjinsun commented 3 years ago

Hi @dronefreak, For evaluation, you can use _--saveimage flag to save all the information including the initial prediction. The initial prediction with no propagation has incorrect values and after iterative propagation those values become correct.

dronefreak commented 3 years ago

Thanks for your quick reply. I have an observation that I would like to confirm with you. I have observed that the propagation layer is essentially parameter free, and most of the bulky operations are performed during the encoder-decoder stage. Do you confirm this observation of mine, or am I missing something?

zzangjinsun commented 3 years ago

Yes right, all the information for spatial propagation comes from Enc-Dec network except for a small conv layer and a normalization constant (conv_offset_aff and aff_scale_const).

dronefreak commented 3 years ago

Thanks a lot! Closing this now.