mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
Update viewer url
This commit is contained in:
parent
6b97edbbad
commit
b651a532bd
@ -6,16 +6,15 @@ 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/branch/master/?localhost:8051](https://viewer.nerfactory.com/branch/master/?localhost:8051) but make sure to change `localhost:8051` accordingly.
|
||||
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.
|
||||
|
||||
2. Run training script with viewer enabled. Note that you should only use the viewer with a fast pipeline, such as instant ngp.
|
||||
```shell
|
||||
python scripts/run_train.py --config-name=graph_instant_ngp.yaml viewer.enable=True
|
||||
```
|
||||
```shell
|
||||
python scripts/run_train.py --config-name=graph_instant_ngp.yaml viewer.enable=True
|
||||
```
|
||||
|
||||
This pulls up a hosted web-viewer which is the fastest way to get started with visualizing your nerfactory training progress!
|
||||
|
||||
If you want to host the viewer locally/yourself, please proceed to "For devleopers" section.
|
||||
If you want to host the viewer locally/yourself, please proceed to "For devleopers" section.
|
||||
|
||||
@ -200,9 +200,7 @@ class VisualizerState:
|
||||
# of the logging stack and easy to see and click
|
||||
# TODO(ethan): log the output of the viewer bridge server in a file where the training logs go
|
||||
console.line()
|
||||
self.viewer_url = (
|
||||
f"https://viewer.nerfactory.com/branch/master/?websocket_url=localhost:{websocket_port}"
|
||||
)
|
||||
self.viewer_url = f"https://viewer.nerfactory.com/latest/?websocket_url=localhost:{websocket_port}"
|
||||
viewer_url_local = f"http://localhost:4000/?websocket_url=localhost:{websocket_port}"
|
||||
pub_open_viewer_instructions_string = f"[Public] Open the viewer at {self.viewer_url}"
|
||||
dev_open_viewer_instructions_string = f"[Local] Open the viewer at {viewer_url_local}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user