mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-23 16:15:36 +08:00
[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:
1 parent
e907bc5c71
commit
56113e6c75
29 files changed
+1048
-960
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath(".."))
|
||||
import nerfactory.configs.base
|
||||
import nerfactory.dataloaders.base
|
||||
import nerfactory.datamanagers.base
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
|
||||
@@ -6,34 +6,34 @@ Data
|
||||
Data Parsers
|
||||
----------------
|
||||
|
||||
.. automodule:: nerfactory.dataloaders.data_parsers
|
||||
.. automodule:: nerfactory.datamanagers.dataparsers
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Image Dataset
|
||||
Datasets
|
||||
----------------
|
||||
|
||||
.. automodule:: nerfactory.dataloaders.image_dataset
|
||||
.. automodule:: nerfactory.datamanagers.datasets
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Image Dataloader
|
||||
Dataloaders
|
||||
----------------
|
||||
|
||||
.. automodule:: nerfactory.dataloaders.image_dataloader
|
||||
.. automodule:: nerfactory.datamanagers.dataloaders
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Pixel Sampler
|
||||
Pixel Samplers
|
||||
----------------
|
||||
|
||||
.. automodule:: nerfactory.dataloaders.pixel_sampler
|
||||
.. automodule:: nerfactory.datamanagers.pixel_sampler
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Structures
|
||||
----------------
|
||||
|
||||
.. automodule:: nerfactory.dataloaders.structs
|
||||
.. automodule:: nerfactory.datamanagers.structs
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -72,14 +72,12 @@
|
||||
"<summary>DataManager Components</summary>\n",
|
||||
"<br>\n",
|
||||
"Datasets Parsers:<br>\n",
|
||||
" <em style=\"padding-left:2em\">Takes a data location and returns a DatasetInputs instance. A DatasetInputs will contain all data needed throughout the pipeline.</em>\n",
|
||||
" <em style=\"padding-left:2em\">Takes a data location and returns a DatsetInputs instance. A DatsetInputs will contain all data needed throughout the pipeline.</em>\n",
|
||||
"<li>Vanilla Image DataParser</li>\n",
|
||||
"<li>Panoptic Image DataParser</li>\n",
|
||||
"<br>\n",
|
||||
"Image Datasets:<br>\n",
|
||||
" <em style=\"padding-left:2em\">Takes image filename information and can return images.</em>\n",
|
||||
"<li>Vanilla Image Dataset</li>\n",
|
||||
"<li>Panoptic Image Dataset</li>\n",
|
||||
"<br>\n",
|
||||
"Image Dataloader:<br>\n",
|
||||
" <em style=\"padding-left:2em\">Takes an Image Dataset and samples images from it.</em>\n",
|
||||
@@ -119,8 +117,8 @@
|
||||
"import torch\n",
|
||||
"\n",
|
||||
"from nerfactory.utils.config import DataManagerConfig, ModelConfig, PipelineConfig, ViewerConfig\n",
|
||||
"from nerfactory.dataloaders.base import DataManager\n",
|
||||
"from nerfactory.dataloaders.structs import DatasetInputs\n",
|
||||
"from nerfactory.datamanagers.base import DataManager\n",
|
||||
"from nerfactory.datamanagers.structs import DatasetInputs\n",
|
||||
"from nerfactory.models.base import Model\n",
|
||||
"from nerfactory.pipelines.base import Pipeline\n",
|
||||
"from nerfactory.models.instant_ngp import NGPModel\n",
|
||||
|
||||
Reference in new issue
Block a user