mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
fix test
This commit is contained in:
1 parent
74bb54ebd1
commit
e48e932b05
1 file changed
+1
-1
@@ -657,7 +657,7 @@ class Cameras(TensorDataclass):
|
||||
coord_stack[coord_mask, :].reshape(3, -1, 2),
|
||||
distortion_params[mask, :],
|
||||
).reshape(-1, 2)
|
||||
except (RuntimeError, ImportError):
|
||||
except (RuntimeError, ImportError, AttributeError):
|
||||
coord_stack[coord_mask, :] = camera_utils.radial_and_tangential_undistort(
|
||||
coord_stack[coord_mask, :].reshape(3, -1, 2),
|
||||
distortion_params[mask, :],
|
||||
|
||||
Reference in new issue
Block a user