mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
nerfacc integration (#447)
* integrated changes * update * stratified * black * bump version * upgrade version
This commit is contained in:
1 parent
ee671ce289
commit
5ccb8277d1
6 files changed
+139
-87
No files matched your search
@@ -345,6 +345,10 @@ class VanillaDataManagerConfig(InstantiateConfig):
|
||||
"""number of images to sample during training iteration"""
|
||||
eval_dataparser: dcargs.conf.Fixed[Optional[InstantiateConfig]] = None
|
||||
"""optionally specify different dataparser to use during eval; if None, uses train_dataparser"""
|
||||
eval_num_rays_per_batch: int = 1024
|
||||
"""number of rays per batch to use per eval iteration"""
|
||||
eval_num_images_to_sample_from: int = -1
|
||||
"""number of images to sample during eval iteration"""
|
||||
eval_image_indices: Optional[Tuple[int, ...]] = (0,)
|
||||
"""specifies the image indices to use during eval; if None, uses all"""
|
||||
eval_num_rays_per_chunk: int = 4096
|
||||
@@ -407,8 +411,6 @@ class CompoundModelConfig(ModelConfig):
|
||||
field_implementation: Literal["torch", "tcnn"] = "tcnn" # torch, tcnn, ...
|
||||
loss_coefficients: Dict[str, float] = to_immutable_dict({"rgb_loss": 1.0})
|
||||
num_samples: int = 1024 # instead of course/fine samples
|
||||
cone_angle: float = 0.0
|
||||
near_plane: float = 0.5
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in new issue
Block a user