diff --git a/docs/tutorials/viewer/viewer_quickstart.md b/docs/tutorials/viewer/viewer_quickstart.md index c2f63db7c..9ca19fa57 100644 --- a/docs/tutorials/viewer/viewer_quickstart.md +++ b/docs/tutorials/viewer/viewer_quickstart.md @@ -6,16 +6,15 @@ The viewer is built using [ThreeJS](https://threejs.org/) and packaged into a [R ![visualize_dataset](imgs/viewer_figure.png) - ## 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. \ No newline at end of file +If you want to host the viewer locally/yourself, please proceed to "For devleopers" section. diff --git a/nerfactory/viewer/server/viewer_utils.py b/nerfactory/viewer/server/viewer_utils.py index f9534d5b7..6a3f8e90d 100644 --- a/nerfactory/viewer/server/viewer_utils.py +++ b/nerfactory/viewer/server/viewer_utils.py @@ -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}"