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

Rename num_cameras to camera_indices (#2326)

rename num_cameras -> camera_indices
This commit is contained in:
Matias Turkulainen 2023-08-11 01:36:01 +03:00 committed by GitHub
parent cb2405d3ea
commit 4fe8e657d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,8 +103,8 @@ class CameraOptimizer(nn.Module):
def forward(
self,
indices: Int[Tensor, "num_cameras"],
) -> Float[Tensor, "num_cameras 3 4"]:
indices: Int[Tensor, "camera_indices"],
) -> Float[Tensor, "camera_indices 3 4"]:
"""Indexing into camera adjustments.
Args:
indices: indices of Cameras to optimize.