4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00
nerfstudio/docs/tutorials/data/choosing_dataset.md
2022-06-28 16:51:08 -07:00

1.5 KiB

Dataset configuration

Referring to a specific dataset

Here is how we refer to a dataset. We have a dataset_inputs_train and a dataset_inputs_eval config. These live under the data directory. You can see configs/graph_default.yaml for more details on what a full config would look like.

data:
  dataset_inputs_train:
    data_directory: data/instant_ngp/fox
    dataset_format: instant_ngp
    downscale_factor: 1
    alpha_color: white
  dataset_inputs_eval:
    data_directory: data/instant_ngp/fox
    dataset_format: instant_ngp
    downscale_factor: 1
    alpha_color: white

Sanity check with a notebook

You can use notebooks/visualize_dataset.ipynb to see how your formatted dataset looks. This code will load a dataset from a yaml config, show the camera poses, and visualize rays with the specified collider in the config. TODO: add a better visualization with images too

visualize_dataset

Supported datasets

We include support for a set of standard dataset formats.

Blender Synthetic
:color: primary
:outline:
Download
dataset_format: blender

Classic NeRF dataset including the "lego bulldozer" scene that was released with the original NeRF paper.

Instant NGP
:color: primary
:outline:
Download
dataset_format: instant_ngp