mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 10:59:53 +08:00
Rename to nerfstudio (#589)
This commit is contained in:
1 parent
fae01d3ca6
commit
1f83ad03db
210 files changed
+3400
-3413
No files matched your search
@@ -8,9 +8,9 @@
|
||||
"source": [
|
||||
"# Creating Custom Pipelines\n",
|
||||
"\n",
|
||||
"> Our goal is to enable Nerfactory users to implement an entire NeRF method by only editing one file.\n",
|
||||
"> Our goal is to enable nerfstudio users to implement an entire NeRF method by only editing one file.\n",
|
||||
"\n",
|
||||
"Here we explain how to create custom pipelines with nerfactory. Pipelines are composed of two components, namely a DataManager and a Model. The pipeline is responsible for routing RayBundle instances returned from the DataManager into the Model.\n",
|
||||
"Here we explain how to create custom pipelines with nerfstudio. Pipelines are composed of two components, namely a DataManager and a Model. The pipeline is responsible for routing RayBundle instances returned from the DataManager into the Model.\n",
|
||||
"\n",
|
||||
"A NeRF method is implemented as a Pipeline. Users can create a Pipeline with a DataManager and Model. We provide default implementations for these components prefixed with the name Vanilla (e.g., `VanillaPipeline`, `VanillaDataManager` which inherit from the `Pipeline` and `DataManager` class, respectively) and specific Models (e.g., `InstantNGPModel` or `TensoRFModel` which inherit from the `Model` class). With most NeRF methods, `VanillaPipeline` and `VanillaDataManager` can be used and only the model needs to be changed. We provide many already implmented Models for people to get started with 3D reconstruction. However, in this tutorial we will demonstrate how to customize each of the Pipeline, DataManager, and Model with an example.\n",
|
||||
"\n",
|
||||
@@ -116,13 +116,13 @@
|
||||
"from typing import Dict, Optional, Tuple, List\n",
|
||||
"import torch\n",
|
||||
"\n",
|
||||
"from nerfactory.utils.config import DataManagerConfig, ModelConfig, PipelineConfig, ViewerConfig\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",
|
||||
"from nerfactory.cameras.rays import RayBundle"
|
||||
"from nerfstudio.utils.config import DataManagerConfig, ModelConfig, PipelineConfig, ViewerConfig\n",
|
||||
"from nerfstudio.datamanagers.base import DataManager\n",
|
||||
"from nerfstudio.datamanagers.structs import DatasetInputs\n",
|
||||
"from nerfstudio.models.base import Model\n",
|
||||
"from nerfstudio.pipelines.base import Pipeline\n",
|
||||
"from nerfstudio.models.instant_ngp import NGPModel\n",
|
||||
"from nerfstudio.cameras.rays import RayBundle"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -268,7 +268,7 @@
|
||||
" model: ModelConfig = MISSING\n",
|
||||
"```\n",
|
||||
"\n",
|
||||
"See `nerfactory/utils/config.py` for more details. In this example, we will simply load from an existing configuration from `configs/graph_instant_ngp.yaml`."
|
||||
"See `nerfstudio/utils/config.py` for more details. In this example, we will simply load from an existing configuration from `configs/graph_instant_ngp.yaml`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -292,7 +292,7 @@
|
||||
"pprint.pprint(pipeline_config)\n",
|
||||
"print(\"----------------------------------------------------\")\n",
|
||||
"\n",
|
||||
"# from nerfactory.pipelines.base import setup_pipeline\n",
|
||||
"# from nerfstudio.pipelines.base import setup_pipeline\n",
|
||||
"# pipeline = setup_pipeline(pipeline_config, device=\"cuda\")\n",
|
||||
"pipeline = pipeline_config.setup()"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user