From b978209858764a913b569a69a12957618996293b Mon Sep 17 00:00:00 2001 From: Nikhil Mohan <47728081+nikmo33@users.noreply.github.com> Date: Mon, 7 Nov 2022 18:53:30 +0000 Subject: [PATCH] [WIP] nan-training-debug (#910) * add repro * update eps * lint Co-authored-by: Matthew Tancik --- nerfstudio/cameras/camera_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/cameras/camera_utils.py b/nerfstudio/cameras/camera_utils.py index b0de30a9b..30d755596 100644 --- a/nerfstudio/cameras/camera_utils.py +++ b/nerfstudio/cameras/camera_utils.py @@ -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.