Skip to content

Commit ac1d4a8

Browse files
authored
datamanager doc nit
1 parent a1af58a commit ac1d4a8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/developer_guides/pipelines/datamanagers.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@
1414

1515
## What is a DataManager?
1616

17-
The DataManager returns a representation of viewpoint (rays or cameras) and a dictionary of ground truth data. Splatting methods (`FullImageDataManager`) return a Cameras object and a dictionary of ground truth containing complete images, while ray sampling methods (`VanillaDataManager`) return a RayBundle and dictionay of ground truth containing data per-ray information (hence the `Union` below). Let's first take a look at the most important abstract methods required by the DataManager.
17+
18+
The DataManager batches and returns two components from an input dataset:
19+
1. A representation of viewpoint (either cameras or rays).
20+
- For splatting methods (`FullImageDataManager`): a `Cameras` object.
21+
- For ray sampling methods (`VanillaDataManager`): a `RayBundle` object.
22+
2. A dictionary of ground truth data.
23+
- For splatting methods (`FullImageDataManager`): dictionary contains complete images.
24+
- For ray sampling methods (`VanillaDataManager`): dictionary contains per-ray information.
25+
26+
Behaviors are defined by implementing the abstract methods required by the DataManager:
1827

1928
```python
2029
class DataManager(nn.Module):

0 commit comments

Comments
 (0)