mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-29 20:39:48 +08:00
1 parent
5e56e7b229
commit
7ba68dde48
12 files changed
+435
-476
No files matched your search
@@ -50,19 +50,19 @@ class Semantics:
|
||||
|
||||
@dataclass
|
||||
class DataparserOutputs:
|
||||
"""Dataparser outputs for the image dataset and the ray generator."""
|
||||
"""Dataparser outputs for the which will be used by the DataManager
|
||||
for creating RayBundle and RayGT objects."""
|
||||
|
||||
image_filenames: List[Path]
|
||||
"""Filenames for the images."""
|
||||
cameras: Cameras
|
||||
"""Camera object storing collection of camera information in dataset"""
|
||||
"""Camera object storing collection of camera information in dataset."""
|
||||
alpha_color: Optional[TensorType[3]] = None
|
||||
"""color of dataset background"""
|
||||
"""Color of dataset background."""
|
||||
scene_box: SceneBox = SceneBox()
|
||||
"""scene box of dataset. Could be used to bound the scene, or to provide the scene scale depending on model."""
|
||||
"""Scene box of dataset. Used to bound the scene or provide the scene scale depending on model."""
|
||||
semantics: Optional[Semantics] = None
|
||||
"""Semantics information."""
|
||||
# we support additional input information/formats including mask/depth/semantics.
|
||||
additional_inputs: Dict[str, Any] = to_immutable_dict({})
|
||||
"""Dictionary of additional dataset information (e.g. semantics/point clouds/masks).
|
||||
{input_name:
|
||||
|
||||
@@ -58,13 +58,12 @@ class NerfstudioDataParserConfig(DataParserConfig):
|
||||
orientation_method: Literal["pca", "up"] = "up"
|
||||
"""The method to use for orientation."""
|
||||
train_split_percentage: float = 0.9
|
||||
"""The percent of images to use for training. The remaining images are for eval.
|
||||
"""
|
||||
"""The percent of images to use for training. The remaining images are for eval."""
|
||||
|
||||
|
||||
@dataclass
|
||||
class Nerfstudio(DataParser):
|
||||
"""Nerfstudio Dataset"""
|
||||
"""Nerfstudio DatasetParser"""
|
||||
|
||||
config: NerfstudioDataParserConfig
|
||||
downscale_factor: Optional[int] = None
|
||||
|
||||
Reference in new issue
Block a user