mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-05 23:38:42 +08:00
1 parent
a637888844
commit
05ba4b6b00
16 files changed
+507
-497
No files matched your search
@@ -217,9 +217,12 @@ class VanillaPipeline(Pipeline):
|
||||
self.datamanager.to(device)
|
||||
# TODO(ethan): get rid of scene_bounds from the model
|
||||
assert self.datamanager.train_dataset is not None, "Missing input dataset"
|
||||
|
||||
self._model = config.model.setup(
|
||||
scene_box=self.datamanager.train_dataset.dataparser_outputs.scene_box,
|
||||
num_train_data=len(self.datamanager.train_dataset),
|
||||
semantics=self.datamanager.train_dataset.dataparser_outputs.semantics,
|
||||
device=device,
|
||||
)
|
||||
self.model.to(device)
|
||||
|
||||
|
||||
Reference in new issue
Block a user