mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 10:29:51 +08:00
Fix typo (#1231)
* Fix typo COLAMP->COLMAP * Fix more typo Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
1 parent
53c23ba356
commit
408ab709ec
45 files changed
+72
-72
No files matched your search
@@ -86,7 +86,7 @@ def lossfun_outer(
|
||||
Args:
|
||||
t: interval edges
|
||||
w: weights
|
||||
t_env: interval edges of the upper bound enveloping historgram
|
||||
t_env: interval edges of the upper bound enveloping histogram
|
||||
w_env: weights that should upper bound the inner (t,w) histogram
|
||||
"""
|
||||
w_outer = outer(t[..., :-1], t[..., 1:], t_env[..., :-1], t_env[..., 1:], w_env)
|
||||
@@ -284,7 +284,7 @@ def depth_loss(
|
||||
predicted_depth: Depth prediction from the network.
|
||||
sigma: Uncertainty around depth value.
|
||||
directions_norm: Norms of ray direction vectors in the camera frame.
|
||||
is_euclidean: Whether ground truth depths correponds to normalized direction vectors.
|
||||
is_euclidean: Whether ground truth depths corresponds to normalized direction vectors.
|
||||
depth_loss_type: Type of depth loss to apply.
|
||||
|
||||
Returns:
|
||||
|
||||
@@ -29,7 +29,7 @@ class RayGenerator(nn.Module):
|
||||
|
||||
Args:
|
||||
cameras: Camera objects containing camera info.
|
||||
pose_optimizer: pose optimization module, for optimizing noisy camera intrisics/extrinsics.
|
||||
pose_optimizer: pose optimization module, for optimizing noisy camera intrinsics/extrinsics.
|
||||
"""
|
||||
|
||||
def __init__(self, cameras: Cameras, pose_optimizer: CameraOptimizer) -> None:
|
||||
@@ -42,7 +42,7 @@ class RayGenerator(nn.Module):
|
||||
"""Index into the cameras to generate the rays.
|
||||
|
||||
Args:
|
||||
ray_indices: Contains camera, row, and col indicies for target rays.
|
||||
ray_indices: Contains camera, row, and col indices for target rays.
|
||||
"""
|
||||
c = ray_indices[:, 0] # camera indices
|
||||
y = ray_indices[:, 1] # row indices
|
||||
|
||||
@@ -58,7 +58,7 @@ class SpacedSampler(Sampler):
|
||||
num_samples: Number of samples per ray
|
||||
spacing_fn: Function that dictates sample spacing (ie `lambda x : x` is uniform).
|
||||
spacing_fn_inv: The inverse of spacing_fn.
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
single_jitter: Use a same random jitter for all samples along a ray. Defaults to False
|
||||
"""
|
||||
|
||||
@@ -81,7 +81,7 @@ class SpacedSampler(Sampler):
|
||||
ray_bundle: Optional[RayBundle] = None,
|
||||
num_samples: Optional[int] = None,
|
||||
) -> RaySamples:
|
||||
"""Generates position samples accoring to spacing function.
|
||||
"""Generates position samples according to spacing function.
|
||||
|
||||
Args:
|
||||
ray_bundle: Rays to generate samples for
|
||||
@@ -131,7 +131,7 @@ class UniformSampler(SpacedSampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
single_jitter: Use a same random jitter for all samples along a ray. Defaults to False
|
||||
"""
|
||||
|
||||
@@ -155,7 +155,7 @@ class LinearDisparitySampler(SpacedSampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
single_jitter: Use a same random jitter for all samples along a ray. Defaults to False
|
||||
"""
|
||||
|
||||
@@ -179,7 +179,7 @@ class SqrtSampler(SpacedSampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
@@ -202,7 +202,7 @@ class LogSampler(SpacedSampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
@@ -227,7 +227,7 @@ class UniformLinDispPiecewiseSampler(SpacedSampler):
|
||||
|
||||
Args:
|
||||
num_samples: Number of samples per ray
|
||||
train_stratified: Use stratified sampling during training. Defults to True
|
||||
train_stratified: Use stratified sampling during training. Defaults to True
|
||||
single_jitter: Use a same random jitter for all samples along a ray. Defaults to False
|
||||
"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user