Open eecoder-dyf opened 1 year ago
Hi @eecoder-dyf,
The code is correct as-is, since the model is already tasked with predicting the logarithmic depth (see dm_lrn.py#L28).
Therefore, we only have to apply the logarithm to the ground truth depth to directly compute the L1 loss.
In
saic_depth_completion\metrics\absolute.py
, classLogDepthL1loss
, Line 35,Is there something mistake? Why use |log(gt)-pred|? I think the code might be
Is this correct?