Skip to content

Commit

Permalink
datamanager doc nit
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi authored Jan 16, 2025
1 parent a1af58a commit ac1d4a8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/developer_guides/pipelines/datamanagers.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@

## What is a DataManager?

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.

The DataManager batches and returns two components from an input dataset:
1. A representation of viewpoint (either cameras or rays).
- For splatting methods (`FullImageDataManager`): a `Cameras` object.
- For ray sampling methods (`VanillaDataManager`): a `RayBundle` object.
2. A dictionary of ground truth data.
- For splatting methods (`FullImageDataManager`): dictionary contains complete images.
- For ray sampling methods (`VanillaDataManager`): dictionary contains per-ray information.

Behaviors are defined by implementing the abstract methods required by the DataManager:

```python
class DataManager(nn.Module):
Expand Down

0 comments on commit ac1d4a8

Please sign in to comment.