[WIP] dataloading cleanup (#332)

* testing; need to merge

* fixing wrong base file in models/base

* pushed input parser into datasets class to abstract away fetching data in dataloader

* slight name chage and all

* nits

* added dataparser

* added licnese
This commit is contained in:
evonneng authored and GitHub committed 2022-09-06 13:54:35 -07:00
1 parent e907bc5c71
commit 56113e6c75
29 files changed
+1048 -960

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ from torch.nn import Parameter
from nerfactory.cameras.rays import RayBundle
from nerfactory.configs import base as cfg
from nerfactory.dataloaders.structs import SceneBounds
from nerfactory.datamanagers.structs import SceneBounds
from nerfactory.fields.density_fields.density_grid import DensityGrid
from nerfactory.utils.callbacks import TrainingCallback, TrainingCallbackAttributes
from nerfactory.utils.misc import get_masked_dict, is_not_none
+1 -1
View File
@@ -23,7 +23,7 @@ from torch import nn
from torchtyping import TensorType
from nerfactory.cameras.rays import RayBundle
from nerfactory.dataloaders.structs import SceneBounds
from nerfactory.datamanagers.structs import SceneBounds
class SceneBoundsCollider(nn.Module):
+1 -1
View File
@@ -22,7 +22,7 @@ from torch import nn
from nerfactory.cameras.rays import RayBundle
from nerfactory.configs import base as cfg
from nerfactory.dataloaders.structs import Semantics
from nerfactory.datamanagers.structs import Semantics
from nerfactory.fields.modules.encoding import NeRFEncoding
from nerfactory.fields.modules.field_heads import FieldHeadNames
from nerfactory.fields.nerf_field import NeRFField