mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 13:59:10 +08:00
Rename num_cameras to camera_indices (#2326)
rename num_cameras -> camera_indices
This commit is contained in:
1 parent
cb2405d3ea
commit
4fe8e657d2
1 file changed
+2
-2
@@ -103,8 +103,8 @@ class CameraOptimizer(nn.Module):
|
|||||||
|
|
||||||
def forward(
|
def forward(
|
||||||
self,
|
self,
|
||||||
indices: Int[Tensor, "num_cameras"],
|
indices: Int[Tensor, "camera_indices"],
|
||||||
) -> Float[Tensor, "num_cameras 3 4"]:
|
) -> Float[Tensor, "camera_indices 3 4"]:
|
||||||
"""Indexing into camera adjustments.
|
"""Indexing into camera adjustments.
|
||||||
Args:
|
Args:
|
||||||
indices: indices of Cameras to optimize.
|
indices: indices of Cameras to optimize.
|
||||||
|
|||||||
Reference in new issue
Block a user