Fixing nerfw and adding to GH Actions (#167)

* added beta_min to nerfw, which I think is needed

* added camera interpolation path and restructured run_eval code

* adding to gitignore

* addressing github comments. mostly documentation

* fixing nerfw dataset for test cases
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-07-19 16:21:54 -07:00
1 parent f77d1fc110
commit 05b92e228b
13 files changed
+197 -67

No files matched your search

+6
View File
@@ -59,6 +59,11 @@ class AbstractGraph(nn.Module):
"""Returns the device that the torch parameters are on."""
return self.device_indicator_param.device
@property
def device(self):
"""Returns the device that the graph is on."""
return self.device_indicator_param.device
@abstractmethod
def forward(self, ray_indices: TensorType["num_rays", 3], batch: Union[str, Dict[str, torch.tensor]] = None):
"""Process starting with ray indices. Turns them into rays, then performs volume rendering."""
@@ -104,6 +109,7 @@ class Graph(AbstractGraph):
self.callbacks = None
# variable for visualizer to fetch TODO(figure out if there is cleaner way to do this)
self.vis_outputs = None
self.default_output_name = None
def register_callbacks(self): # pylint:disable=no-self-use
"""Option to register callback for training functions"""