mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
Making some updates to notation, documentation
This commit is contained in:
1 parent
3a78a9cb2e
commit
2fc2fe3817
2 files changed
+18
-16
No files matched your search
@@ -111,7 +111,7 @@ class DatasetInputs:
|
||||
|
||||
|
||||
@dataclass
|
||||
class GenericDataContainer:
|
||||
class BaseDataContainer:
|
||||
"""A container for data that is not specific to any dataset. It should be everything
|
||||
needed by the renderer and loss calculation. Different datasets and models will probably
|
||||
need to subclass from this differently, since different Field modules will require different
|
||||
@@ -122,5 +122,6 @@ class GenericDataContainer:
|
||||
ground_truth_pixels (TensorType["num_pixels", 3]): The ground truth pixels for the image.
|
||||
"""
|
||||
|
||||
rays: RayBundle
|
||||
ground_truth_pixels: TensorType["num_pixels", 3] = None
|
||||
rays: RayBundle # Raybundle and the cameras will be merged into one thing in a later PR
|
||||
cameras: torch.tensor
|
||||
ground_truth_pixels: Optional[TensorType["num_pixels", 3]] = None
|
||||
Reference in new issue
Block a user