* Fix typo COLAMP->COLMAP

* Fix more typo

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
matsurenandMatthew Tancik authored and GitHub committed 2023-01-16 12:12:55 -08:00
1 parent 53c23ba356
commit 408ab709ec
45 files changed
+72 -72

No files matched your search

@@ -27,7 +27,7 @@ class FieldComponent(nn.Module):
Args:
in_dim: Input dimension to module.
out_dim: Ouput dimension to module.
out_dim: Output dimension to module.
"""
def __init__(self, in_dim: Optional[int] = None, out_dim: Optional[int] = None) -> None:
+5 -5
View File
@@ -73,7 +73,7 @@ class Identity(Encoding):
class ScalingAndOffset(Encoding):
"""Simple scaling and offet to input
"""Simple scaling and offset to input
Args:
in_dim: Input dimension of tensor
@@ -97,7 +97,7 @@ class ScalingAndOffset(Encoding):
class NeRFEncoding(Encoding):
"""Multi-scale sinousoidal encodings. Support ``integrated positional encodings`` if covariances are provided.
"""Multi-scale sinusoidal encodings. Support ``integrated positional encodings`` if covariances are provided.
Each axis is encoded with frequencies ranging from 2^min_freq_exp to 2^max_freq_exp.
Args:
@@ -459,7 +459,7 @@ class TensorVMEncoding(Encoding):
@torch.no_grad()
def upsample_grid(self, resolution: int) -> None:
"""Upsamples underyling feature grid
"""Upsamples underlying feature grid
Args:
resolution: Target resolution.
@@ -478,14 +478,14 @@ class SHEncoding(Encoding):
"""Spherical harmonic encoding
Args:
levels: Number of spherical hamonic levels to encode.
levels: Number of spherical harmonic levels to encode.
"""
def __init__(self, levels: int = 4) -> None:
super().__init__(in_dim=3)
if levels <= 0 or levels > 4:
raise ValueError(f"Spherical harmonic encoding only suports 1 to 4 levels, requested {levels}")
raise ValueError(f"Spherical harmonic encoding only supports 1 to 4 levels, requested {levels}")
self.levels = levels
+1 -1
View File
@@ -84,7 +84,7 @@ class FieldHead(FieldComponent):
Render head output
"""
if not self.net:
raise SystemError("in_dim not set. Must be provided to construtor, or set_in_dim() should be called.")
raise SystemError("in_dim not set. Must be provided to constructor, or set_in_dim() should be called.")
out_tensor = self.net(in_tensor)
if self.activation:
out_tensor = self.activation(out_tensor)