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
Matthew Tancik 2bc6d9cc63
Update docs (#65)
+ Clean up data setup docs
+ Clean up visualize data ipynb
+ Enable interactive ploty in docs
2022-06-29 11:47:55 -07:00

68 lines
1.6 KiB
Markdown

# Dataset configuration
#### Specifying dataset
The dataset path and type is specified in the model config. Both `dataset_inputs_train` and a `dataset_inputs_eval` need to be set. You can see `configs/graph_default.yaml` for more details on what a full config would look like.
```yaml
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
```
#### Visualize dataset
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](media/creating_dataset_visualize_dataset.png)
#### Supported datasets
We include support for a set of standard dataset formats.
###### Blender Synthetic
```{button-link} https://drive.google.com/drive/u/1/folders/128yBriW1IG_3NJ5Rp7APSTZsJqdJdfc1
:color: primary
:outline:
Download
```
```yaml
dataset_format: blender
```
Classic NeRF dataset including the "lego bulldozer" scene that was released with the original NeRF paper.
###### Instant NGP
```{button-link} https://github.com/NVlabs/instant-ngp#nerf-fox
:color: primary
:outline:
Download
```
```yaml
dataset_format: instant_ngp
```
###### MipNeRF 360
```{button-link} https://jonbarron.info/mipnerf360/
:color: primary
:outline:
Download
```
```yaml
dataset_format: mipnerf_360
```