mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 19:33:46 +08:00
Remove remaining nerfactory (#598)
* Remove remaining nerfactory * Lint
This commit is contained in:
1 parent
1b9f42384e
commit
531361a6aa
17 files changed
+692
-706
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
Training model on existing datasets is only so fun. If you would like to train on self captured data you will need to process the data into an existing format. Specifically we need to know the camera poses for each image. [COLMAP](https://github.com/colmap/colmap) is a standard tool for extracting poses. It is possible to use other methods like [SLAM](https://en.wikipedia.org/wiki/Simultaneous_localization_and_mapping) or hardware recorded poses. We intend to add documentation for these other methods in the future.
|
||||
|
||||
## Nerfactory dataset
|
||||
## nerfstudio dataset
|
||||
|
||||
To assist running on custom data we have a script that will process a video or folder of images into a format that is compatible with nerfstudio. We use [COLMAP](https://colmap.github.io) and [FFmpeg](https://ffmpeg.org/download.html) in our data processing script, please have these installed. We have provided a quickstart to installing COLMAP below, FFmpeg can be downloaded from [here](https://ffmpeg.org/download.html)
|
||||
|
||||
@@ -22,10 +22,10 @@ If your data was captured with a fisheye camera add `--camera-type fisheye`.
|
||||
|
||||
### Training on your data
|
||||
|
||||
Simply specify that you are using the `nerfactory` dataparser and point the data directory to your processed data.
|
||||
Simply specify that you are using the `nerfstudio` dataparser and point the data directory to your processed data.
|
||||
|
||||
```bash
|
||||
python scripts/train.py instant-ngp nerfactory --pipeline.datamanager.dataparser.data-directory PROCESSED_DATA_DIR
|
||||
python scripts/train.py instant-ngp nerfstudio-data --pipeline.datamanager.dataparser.data-directory PROCESSED_DATA_DIR
|
||||
```
|
||||
|
||||
### Installing COLMAP
|
||||
|
||||
@@ -57,7 +57,7 @@ pip install -e.[docs]
|
||||
|
||||
# Downloading data
|
||||
|
||||
Download the original NeRF Blender dataset. We support the major datasets and allow users to create their own dataset, described in detail [here](https://plenoptix-nerfactory.readthedocs-hosted.com/en/latest/tutorials/data/index.html).
|
||||
Download the original NeRF Blender dataset. We support the major datasets and allow users to create their own dataset, described in detail [here](https://docs.nerf.studio/en/latest/tutorials/data/index.html).
|
||||
|
||||
```
|
||||
ns-download-data --dataset=blender
|
||||
@@ -97,7 +97,7 @@ ns-train nerfacto
|
||||
Run with nerfstudio data. You'll may have to change the ports, and be sure to forward the "websocket-port".
|
||||
|
||||
```
|
||||
ns-train nerfacto --vis viewer --viewer.zmq-port 8001 --viewer.websocket-port 8002 nerfactory-data --pipeline.datamanager.dataparser.data-directory data/nerfstudio/poster --pipeline.datamanager.dataparser.downscale-factor 4
|
||||
ns-train nerfacto --vis viewer --viewer.zmq-port 8001 --viewer.websocket-port 8002 nerfstudio-data --pipeline.datamanager.dataparser.data-directory data/nerfstudio/poster --pipeline.datamanager.dataparser.downscale-factor 4
|
||||
```
|
||||
|
||||
# Visualizing training runs
|
||||
@@ -155,7 +155,7 @@ python -m pip install --upgrade pip
|
||||
|
||||
(cuda-sources-error)=
|
||||
|
||||
#### Runtime errors: "len(sources) > 0", "ctype = _C.ContractionType(type.value) ; TypeError: 'NoneType' object is not callable".
|
||||
#### Runtime errors: "len(sources) > 0", "ctype = \_C.ContractionType(type.value) ; TypeError: 'NoneType' object is not callable".
|
||||
|
||||
When running `train.py `, an error occurs when installing cuda files in the backend code.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ The viewer is built using [ThreeJS](https://threejs.org/) and packaged into a [R
|
||||
|
||||
## Run hosted web viewer
|
||||
|
||||
1. Open the Client App Viewer at ... [https://viewer.nerfactory.com/latest/?localhost:7007](https://viewer.nerfactory.com/latest/?localhost:8051) but make sure to change `localhost:7007` accordingly.
|
||||
1. Open the Client App Viewer at ... [https://viewer.nerf.studio/latest/?localhost:7007](https://viewer.nerf.studio/latest/?localhost:8051) but make sure to change `localhost:7007` accordingly.
|
||||
|
||||
2. Run training script with viewer enabled. Note that you should only use the viewer with a fast pipeline, such as instant ngp.
|
||||
```shell
|
||||
|
||||
Reference in new issue
Block a user