[WIP] nan-training-debug (#910)

* add repro

* update eps

* lint

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
Nikhil MohanandMatthew Tancik authored and GitHub committed 2022-11-07 10:53:30 -08:00
1 parent a6de0f5f60
commit b978209858
1 file changed
+1 -1
+1 -1
View File
@@ -342,7 +342,7 @@ def _compute_residual_and_jacobian(
def radial_and_tangential_undistort(
coords: torch.Tensor,
distortion_params: torch.Tensor,
eps: float = 1e-9,
eps: float = 1e-3,
max_iterations: int = 10,
) -> torch.Tensor:
"""Computes undistorted coords given opencv distortion parameters.