4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00

Change error from array to float in test cases

This commit is contained in:
basebala 2026-07-07 22:51:06 -07:00 committed by GitHub
parent 2db1aab049
commit d695e0d080
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ def test_process_images_skip_colmap(tmp_path: Path):
id=1,
xyz=np.array([0, 0, 0]),
rgb=np.array([0, 0, 0]),
error=np.array([0]),
error=0.0,
image_ids=np.array([1]),
point2D_idxs=np.array([0]),
),
@ -144,7 +144,7 @@ def test_process_images_recursively_skip_colmap(tmp_path: Path):
id=1,
xyz=np.array([0, 0, 0]),
rgb=np.array([0, 0, 0]),
error=np.array([0]),
error=0.0,
image_ids=np.array([1]),
point2D_idxs=np.array([0]),
),