prstrive / UniMVSNet

[CVPR 2022] Rethinking Depth Estimation for Multi-View Stereo: A Unified Representation
MIT License
231 stars 12 forks source link

About abs_depthloss #16

Closed Sun-Xinnnnn closed 2 years ago

Sun-Xinnnnn commented 2 years ago

Hello, thank you very much for your code. May I ask how to check the absolute depth error in the training process?

prstrive commented 2 years ago

We only report the threshold error (Th2, Th4 or Th8), and you can insert the abs_error into the training process easily like (depth_gt[mask] - depth_est[mask]).asb().mean()

Sun-Xinnnnn commented 2 years ago

We only report the threshold error (Th2, Th4 or Th8), and you can insert the abs_error into the training process easily like (depth_gt[mask] - depth_est[mask]).asb().mean()

thanks :)

Sun-Xinnnnn commented 2 years ago

We only report the threshold error (Th2, Th4 or Th8), and you can insert the abs_error into the training process easily like (depth_gt[mask] - depth_est[mask]).asb().mean()

What is your Abs depth err value? Mine seems a little big.