mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-06 15:59:16 +08:00
Fixed testing and added graph abstractions (#64)
* abstracted some test logic and actually using test images now * moved logging from trainer to graph * fixing dataset path * refactored instant ngp code to use inheritance * fixed my run_train * fixed data path * fixed data dir
This commit is contained in:
1 parent
e83ce4f61b
commit
5fb3d14304
26 files changed
+8526
-270
No files matched your search
@@ -0,0 +1,20 @@
|
||||
"""
|
||||
NeRF-W (NeRF in the wild) implementation.
|
||||
TODO:
|
||||
"""
|
||||
|
||||
from mattport.nerf.graph.vanilla_nerf import NeRFGraph
|
||||
from mattport.structures.rays import RayBundle
|
||||
|
||||
|
||||
class NerfWGraph(NeRFGraph):
|
||||
"""NeRF-W graph"""
|
||||
|
||||
def __init__(self, intrinsics=None, camera_to_world=None, **kwargs) -> None:
|
||||
super().__init__(intrinsics=intrinsics, camera_to_world=camera_to_world, **kwargs)
|
||||
|
||||
def get_outputs(self, ray_bundle: RayBundle):
|
||||
raise NotImplementedError
|
||||
|
||||
def get_loss_dict(self, outputs, batch):
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user