mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
Default to train dataset when eval isn't specified in config (#265)
default to train dataset when eval isn't in config
This commit is contained in:
1 parent
0b042be956
commit
841e03a9a3
11 files changed
+8
-44
No files matched your search
@@ -190,7 +190,7 @@ class Model(nn.Module):
|
||||
"""Computes and returns the losses dict."""
|
||||
|
||||
@torch.no_grad()
|
||||
def get_outputs_for_camera_ray_bundle(self, camera_ray_bundle: RayBundle):
|
||||
def get_outputs_for_camera_ray_bundle(self, camera_ray_bundle: RayBundle) -> Dict[str, torch.Tensor]:
|
||||
"""Takes in camera parameters and computes the output of the model."""
|
||||
assert is_not_none(camera_ray_bundle.num_rays_per_chunk)
|
||||
image_height, image_width = camera_ray_bundle.origins.shape[:2]
|
||||
|
||||
Reference in new issue
Block a user