Fixed friends dataset w/o caching (#365)

* fixing friends dataloading and nerfw running

* put dataset back to normal
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-09-07 12:24:29 -07:00
1 parent 42711497ab
commit 512a51f714
11 files changed
+98 -170

No files matched your search

+3 -1
View File
@@ -84,7 +84,9 @@ class Pipeline(nn.Module):
self.datamanager.to(device)
# TODO(ethan): get rid of scene_bounds from the model
assert self.datamanager.train_input_dataset is not None, "Missing input dataset"
self.model: Model = config.model.setup(scene_bounds=self.datamanager.train_input_dataset.inputs.scene_bounds)
self.model: Model = config.model.setup(
scene_bounds=self.datamanager.train_input_dataset.dataset_inputs.scene_bounds
)
self.model.to(device)
self.world_size = world_size