mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-10 18:17:31 +08:00
fix test
This commit is contained in:
parent
74bb54ebd1
commit
e48e932b05
@ -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, :],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user