mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 05:48:57 +08:00
Remove dataparser
This commit is contained in:
1 parent
57736cfafc
commit
a83d443dc3
9 files changed
+124
-57
No files matched your search
@@ -72,7 +72,9 @@ class ExperimentConfig(InstantiateConfig):
|
||||
vis: Literal["viewer", "wandb", "tensorboard", "viewer+wandb", "viewer+tensorboard"] = "wandb"
|
||||
"""Which visualizer to use."""
|
||||
data: Optional[Path] = None
|
||||
"""Alias for --pipeline.datamanager.dataparser.data"""
|
||||
"""Alias for --pipeline.datamanager.data"""
|
||||
prompt: Optional[str] = None
|
||||
"""Alias for --pipeline.model.prompt"""
|
||||
relative_model_dir: Path = Path("nerfstudio_models/")
|
||||
"""Relative path to save all checkpoints."""
|
||||
|
||||
@@ -96,7 +98,7 @@ class ExperimentConfig(InstantiateConfig):
|
||||
def set_experiment_name(self) -> None:
|
||||
"""Dynamically set the experiment name"""
|
||||
if self.experiment_name is None:
|
||||
self.experiment_name = str(self.pipeline.datamanager.dataparser.data).replace("../", "").replace("/", "-")
|
||||
self.experiment_name = str(self.pipeline.datamanager.data).replace("../", "").replace("/", "-")
|
||||
|
||||
def get_base_dir(self) -> Path:
|
||||
"""Retrieve the base directory to set relative paths"""
|
||||
|
||||
@@ -338,6 +338,7 @@ method_configs["phototourism"] = TrainerConfig(
|
||||
|
||||
method_configs["dreamfusion"] = TrainerConfig(
|
||||
method_name="dreamfusion",
|
||||
experiment_name="",
|
||||
steps_per_eval_batch=50,
|
||||
steps_per_eval_image=50,
|
||||
steps_per_save=200,
|
||||
@@ -346,9 +347,6 @@ method_configs["dreamfusion"] = TrainerConfig(
|
||||
pipeline=VanillaPipelineConfig(
|
||||
generative=True,
|
||||
datamanager=DreamFusionDataManagerConfig(
|
||||
dataparser=NerfstudioDataParserConfig(),
|
||||
train_num_rays_per_batch=4096,
|
||||
eval_num_rays_per_batch=4096,
|
||||
horizontal_rotation_warmup=4000,
|
||||
),
|
||||
model=DreamFusionModelConfig(
|
||||
|
||||
Reference in new issue
Block a user