mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-27 11:30:11 +08:00
Change error from array to float in test cases
This commit is contained in:
1 parent
2db1aab049
commit
d695e0d080
1 file changed
+2
-2
@@ -59,7 +59,7 @@ def test_process_images_skip_colmap(tmp_path: Path):
|
|||||||
id=1,
|
id=1,
|
||||||
xyz=np.array([0, 0, 0]),
|
xyz=np.array([0, 0, 0]),
|
||||||
rgb=np.array([0, 0, 0]),
|
rgb=np.array([0, 0, 0]),
|
||||||
error=np.array([0]),
|
error=0.0,
|
||||||
image_ids=np.array([1]),
|
image_ids=np.array([1]),
|
||||||
point2D_idxs=np.array([0]),
|
point2D_idxs=np.array([0]),
|
||||||
),
|
),
|
||||||
@@ -144,7 +144,7 @@ def test_process_images_recursively_skip_colmap(tmp_path: Path):
|
|||||||
id=1,
|
id=1,
|
||||||
xyz=np.array([0, 0, 0]),
|
xyz=np.array([0, 0, 0]),
|
||||||
rgb=np.array([0, 0, 0]),
|
rgb=np.array([0, 0, 0]),
|
||||||
error=np.array([0]),
|
error=0.0,
|
||||||
image_ids=np.array([1]),
|
image_ids=np.array([1]),
|
||||||
point2D_idxs=np.array([0]),
|
point2D_idxs=np.array([0]),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user