Open Luca-Wiehe opened 5 months ago
Since the training process runs on the server, to view the results on the PC (client), we need to forward the server port to the local machine: For example, if the SSH command for the server is: ssh -p 48332 root@region-3.autodl.com The URL for viewing results is http://localhost:7007/ We need to forward the server’s port 7007 to the client’s port 7007, but the connection port remains as specified in the SSH command. Enter the following in cmd or PowerShell: ssh -CNg -L 7007:127.0.0.1:7007 root@china.autodl.com -p 11451 Here, china.autodl.com acts like an IP address, and if required, the login password is the server's password.
Bug Description When using
ns-viewer
in Google Colab, Viser fails to establish a connection to the visualized training instance.I was hoping to solve this issue by setting the
--viewer.make-share-url True
flag. A shared URL gets printed when usingns-train
but not when usingns-viewer
.As a solution, I would appreciate a suggestion on how to access the shared URL of the
ns-viewer
or a way to resolve the connection issue with Colab's/localhost:7007/
.To Reproduce Steps to reproduce the behavior:
Along with some training output, a viewer link is printed to the console.
localhost:7007
:config.yaml
to load the viewer. UseExpected behavior After step 3, I would expect the output to be available through the Colab localhost from step 2. While the port can be accessed by
ns-viewer
(indicated by a Viser instance on that port), it will always remain in the "Connecting..." state.Additionally, I would expect a shared link to be printed (as is the case when using
ns-train
) such that a publicly accessible viewer instance can be accessed.These two errors combined disallow visualizing any pretrained instances which makes nerfstudio practically incompatible with Google Colab.
Screenshots Viser never leaves the "Connecting..." state.
Additional context Here is the full console output that is printed when executing
ns-viewer
: