mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 13:59:10 +08:00
Update viewer url
This commit is contained in:
1 parent
6b97edbbad
commit
b651a532bd
2 files changed
+5
-8
No files matched your search
@@ -6,15 +6,14 @@ The viewer is built using [ThreeJS](https://threejs.org/) and packaged into a [R
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Run hosted web viewer
|
## 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.
|
2. Run training script with viewer enabled. Note that you should only use the viewer with a fast pipeline, such as instant ngp.
|
||||||
```shell
|
```shell
|
||||||
python scripts/run_train.py --config-name=graph_instant_ngp.yaml viewer.enable=True
|
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!
|
This pulls up a hosted web-viewer which is the fastest way to get started with visualizing your nerfactory training progress!
|
||||||
|
|
||||||
|
|||||||
@@ -200,9 +200,7 @@ class VisualizerState:
|
|||||||
# of the logging stack and easy to see and click
|
# 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
|
# TODO(ethan): log the output of the viewer bridge server in a file where the training logs go
|
||||||
console.line()
|
console.line()
|
||||||
self.viewer_url = (
|
self.viewer_url = f"https://viewer.nerfactory.com/latest/?websocket_url=localhost:{websocket_port}"
|
||||||
f"https://viewer.nerfactory.com/branch/master/?websocket_url=localhost:{websocket_port}"
|
|
||||||
)
|
|
||||||
viewer_url_local = f"http://localhost:4000/?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}"
|
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}"
|
dev_open_viewer_instructions_string = f"[Local] Open the viewer at {viewer_url_local}"
|
||||||
|
|||||||
Reference in new issue
Block a user