mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Rename scene bounds (#605)
This commit is contained in:
1 parent
bc2aa64aba
commit
4110bd7a3e
25 files changed
+98
-102
No files matched your search
@@ -210,10 +210,10 @@ class VanillaPipeline(Pipeline):
|
||||
device=device, test_mode=test_mode, world_size=world_size, local_rank=local_rank
|
||||
)
|
||||
self.datamanager.to(device)
|
||||
# TODO(ethan): get rid of scene_bounds from the model
|
||||
# TODO(ethan): get rid of scene_box from the model
|
||||
assert self.datamanager.train_input_dataset is not None, "Missing input dataset"
|
||||
self.model = config.model.setup(
|
||||
scene_bounds=self.datamanager.train_input_dataset.dataset_inputs.scene_bounds,
|
||||
scene_box=self.datamanager.train_input_dataset.dataset_inputs.scene_box,
|
||||
num_train_data=len(self.datamanager.train_input_dataset),
|
||||
)
|
||||
self.model.to(device)
|
||||
|
||||
Reference in new issue
Block a user