facebookresearch / DistDepth

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

Normalization input image for DPT #28

Closed nuko7055 closed 5 months ago

nuko7055 commented 5 months ago

I found that the normalization of the DPT input is done twice in the program. Is this correct ?

https://github.com/facebookresearch/DistDepth/blob/36f9108592b76892e1d987a4bf176e7584c8323c/execute_func.py?plain=1#L251-L254

https://github.com/facebookresearch/DistDepth/blob/36f9108592b76892e1d987a4bf176e7584c8323c/dpt_networks/dpt_depth.py?plain=1#L77-L79

choyingw commented 5 months ago

Thanks for cathing this. I'll make a revision.

choyingw commented 5 months ago

fixed