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:
parent
2db1aab049
commit
d695e0d080
@ -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]),
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user