mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-17 13:23:46 +08:00
fix large number of typos in repository (#1977)
* fix large number of typos in repository * fix typos in tests
This commit is contained in:
1 parent
ccdcc3951e
commit
d413ca4204
32 files changed
+48
-48
No files matched your search
@@ -246,7 +246,7 @@ class DataManager(nn.Module):
|
||||
step: the step number of the eval image to retrieve
|
||||
Returns:
|
||||
A tuple of the ray bundle for the image, and a dictionary of additional batch information
|
||||
such as the groudtruth image.
|
||||
such as the groundtruth image.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@@ -258,19 +258,19 @@ class DataManager(nn.Module):
|
||||
step: the step number of the eval image to retrieve
|
||||
Returns:
|
||||
A tuple of the ray bundle for the image, and a dictionary of additional batch information
|
||||
such as the groudtruth image.
|
||||
such as the groundtruth image.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def next_eval_image(self, step: int) -> Tuple[int, RayBundle, Dict]:
|
||||
"""Retreive the next eval image.
|
||||
"""Retrieve the next eval image.
|
||||
|
||||
Args:
|
||||
step: the step number of the eval image to retrieve
|
||||
Returns:
|
||||
A tuple of the step number, the ray bundle for the image, and a dictionary of
|
||||
additional batch information such as the groudtruth image.
|
||||
additional batch information such as the groundtruth image.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ def traj_string_to_matrix(traj_string: str):
|
||||
class ARKitScenesDataParserConfig(DataParserConfig):
|
||||
"""ARKitScenes dataset config.
|
||||
ARKitScenes dataset (http://github.com/apple/ARKitScenes) is a large-scale 3D dataset of indoor scenes.
|
||||
This dataparser uses 3D deteciton subset of the ARKitScenes dataset.
|
||||
This dataparser uses 3D detection subset of the ARKitScenes dataset.
|
||||
"""
|
||||
|
||||
_target: Type = field(default_factory=lambda: ARKitScenes)
|
||||
|
||||
@@ -72,7 +72,7 @@ class InstantNGP(DataParser):
|
||||
if not fname.exists():
|
||||
fname = data_dir / Path(frame["file_path"] + ".png")
|
||||
if not fname.exists():
|
||||
CONSOLE.log(f"couldnt find {fname} image")
|
||||
CONSOLE.log(f"couldn't find {fname} image")
|
||||
num_skipped_image_filenames += 1
|
||||
else:
|
||||
if "w" not in meta:
|
||||
|
||||
@@ -261,7 +261,7 @@ class PatchPixelSampler(PixelSampler):
|
||||
super().__init__(num_rays, keep_full_image, **kwargs)
|
||||
|
||||
def set_num_rays_per_batch(self, num_rays_per_batch: int):
|
||||
"""Set the number of rays to sample per batch. Overrided to deal with patch-based sampling.
|
||||
"""Set the number of rays to sample per batch. Overridden to deal with patch-based sampling.
|
||||
|
||||
Args:
|
||||
num_rays_per_batch: number of rays to sample per batch
|
||||
|
||||
Reference in new issue
Block a user