MCPcopy Create free account
hub / github.com/apchenstu/mvsnerf / abs_error_numpy

Function abs_error_numpy

utils.py:67–69  ·  view source on GitHub ↗
(depth_pred, depth_gt, mask)

Source from the content-addressed store, hash-verified

65 return x_, [mi,ma]
66
67def abs_error_numpy(depth_pred, depth_gt, mask):
68 depth_pred, depth_gt = depth_pred[mask], depth_gt[mask]
69 return np.abs(depth_pred - depth_gt)
70
71def abs_error(depth_pred, depth_gt, mask):
72 depth_pred, depth_gt = depth_pred[mask], depth_gt[mask]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected