mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 07:05:44 +08:00
1 parent
62f492f1bc
commit
e13d401b16
97 files changed
+235712
-235721
No files matched your search
@@ -18,19 +18,19 @@
|
||||
"\n",
|
||||
"### Modules\n",
|
||||
"\n",
|
||||
"We can decompose all graphs into respective modules. For instance, we have {ref}`optimizers` which contains modules related to the loss, {ref}`renderers` which contains all rendering modules, {`graph/modules/`}, which includes samplers and ray generators. Additionally, we have {ref}`field_modules`, which will be discussed below.\n",
|
||||
"We can decompose all graphs into respective modules. For instance, we have `optimizers` which contains modules related to the loss, `renderers` which contains all rendering modules, {`graph/modules/`}, which includes samplers and ray generators. Additionally, we have `field_modules`, which will be discussed below.\n",
|
||||
"In general, modules can be thought of as individual component parts of the graph that can be swapped in/out. We provide most of the standard modules, but if you are creating a new NeRF graph, you may have to define new modules.\n",
|
||||
"\n",
|
||||
"### Fields\n",
|
||||
"\n",
|
||||
"{ref}`fields` represents the \"space\", aka. the radiance field of the NeRF. Here, we define the field as the part of the network that takes in point samples and any other conditioning, and outputs any of the `FieldHeadNames` (`nerf/field_modules/field_heads.py`).\n",
|
||||
"`fields` represents the \"space\", aka. the radiance field of the NeRF. Here, we define the field as the part of the network that takes in point samples and any other conditioning, and outputs any of the `FieldHeadNames` (`nerf/field_modules/field_heads.py`).\n",
|
||||
"\n",
|
||||
"All fields are composed of modules continained within the `fields/` directory (e.g. `fields/modules/`). We can think of field modules as modules that actually define or interact with the field.\n",
|
||||
"\n",
|
||||
"To build a NeRF field, we therefore follow these steps:\n",
|
||||
"\n",
|
||||
"1. define any relevant field modules\n",
|
||||
"2. create a new class that extends the {ref}`fields` base class and use these field modules to compose the full field\n",
|
||||
"2. create a new class that extends the `fields` base class and use these field modules to compose the full field\n",
|
||||
"3. implement the abstract functions `get_density()` and `get_outputs()`."
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user