dataloader logic, new folder structure, flatter configs (#26)

* renaming dataloader to data. adding some dataloader classes

* restructuring configs

* fixed instant ngp tcnn direction rescaling

* working through test cases

* black and lint and tests
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-06-08 09:01:56 -07:00
1 parent 24c1c77ef1
commit 457788d689
105 files changed
+8828 -682

No files matched your search

+4 -4
View File
@@ -6,27 +6,27 @@ Dataset
Colmap Utils
----------------
.. automodule:: pyrad.nerf.dataset.colmap_utils
.. automodule:: pyrad.data.colmap_utils
:members:
:show-inheritance:
Image Dataset
----------------
.. automodule:: pyrad.nerf.dataset.image_dataset
.. automodule:: pyrad.data.image_dataset
:members:
:show-inheritance:
Structures
----------------
.. automodule:: pyrad.nerf.dataset.structs
.. automodule:: pyrad.data.structs
:members:
:show-inheritance:
Utils
----------------
.. automodule:: pyrad.nerf.dataset.utils
.. automodule:: pyrad.data.utils
:members:
:show-inheritance:
+3 -3
View File
@@ -6,20 +6,20 @@ Fields
Base
----------------
.. automodule:: pyrad.nerf.fields.base
.. automodule:: pyrad.fields.base
:members:
:show-inheritance:
Instant NGP
----------------
.. automodule:: pyrad.nerf.fields.instant_ngp_field
.. automodule:: pyrad.fields.instant_ngp_field
:members:
:show-inheritance:
NeRF
----------------
.. automodule:: pyrad.nerf.fields.nerf_field
.. automodule:: pyrad.fields.nerf_field
:members:
:show-inheritance:
@@ -3,6 +3,6 @@
Embeddings
===================
.. automodule:: pyrad.nerf.field_modules.embedding
.. automodule:: pyrad.fields.modules.embedding
:members:
:show-inheritance:
@@ -3,6 +3,6 @@
Encodings
===================
.. automodule:: pyrad.nerf.field_modules.encoding
.. automodule:: pyrad.fields.modules.encoding
:members:
:show-inheritance:
@@ -3,6 +3,6 @@
Field Heads
===================
.. automodule:: pyrad.nerf.field_modules.field_heads
.. automodule:: pyrad.fields.modules.field_heads
:members:
:show-inheritance:
@@ -3,6 +3,6 @@
Field Losses
===================
.. automodule:: pyrad.nerf.field_modules.field_losses
.. automodule:: pyrad.fields.modules.field_losses
:members:
:show-inheritance:
@@ -3,6 +3,6 @@
MLP
===================
.. automodule:: pyrad.nerf.field_modules.mlp
.. automodule:: pyrad.fields.modules.mlp
:members:
:show-inheritance:
+5 -5
View File
@@ -6,34 +6,34 @@ Graphs
Base
----------------
.. automodule:: pyrad.nerf.graph.base
.. automodule:: pyrad.graphs.base
:members:
:show-inheritance:
Instant NGP
----------------
.. automodule:: pyrad.nerf.graph.instant_ngp
.. automodule:: pyrad.graphs.instant_ngp
:members:
:show-inheritance:
Semantic NeRF
----------------
.. automodule:: pyrad.nerf.graph.semantic_nerf
.. automodule:: pyrad.graphs.semantic_nerf
:members:
:show-inheritance:
TensoRF
----------------
.. automodule:: pyrad.nerf.graph.tensorf
.. automodule:: pyrad.graphs.tensorf
:members:
:show-inheritance:
NeRF
----------------
.. automodule:: pyrad.nerf.graph.vanilla_nerf
.. automodule:: pyrad.graphs.vanilla_nerf
:members:
:show-inheritance:
+10
View File
@@ -0,0 +1,10 @@
.. _graph_modules:
Graph Modules
===================
TODO: High level description of graph modules and how they are used.
.. toctree::
ray_sampler
@@ -0,0 +1,8 @@
.. _ray_sampler:
Ray Sampler
===================
.. automodule:: pyrad.graphs.modules.ray_sampler
:members:
:show-inheritance:
+3 -3
View File
@@ -9,11 +9,11 @@ TODO: Explanation of each component
:hidden:
dataset
samplers
field_modules/index
renderers
fields
fields/modules/index
graphs
graphs/modules/index
renderers/index
Hydra config structure
========================
@@ -3,6 +3,6 @@
Renderers
============
.. automodule:: pyrad.nerf.renderers
.. automodule:: pyrad.renderers.renderers
:members:
:show-inheritance:
-25
View File
@@ -1,25 +0,0 @@
.. _samplers:
Samplers
============
Image Samplers
-------------------------------
.. automodule:: pyrad.nerf.image_sampler
:members:
:show-inheritance:
Pixel Samplers
-------------------------------
.. automodule:: pyrad.nerf.pixel_sampler
:members:
:show-inheritance:
Ray Samplers
-------------------------------
.. automodule:: pyrad.nerf.ray_sampler
:members:
:show-inheritance: