Open neuronphysics opened 2 years ago
Hi @neuronphysics, one way to manage this kind of setup is with an ssh tunnel, such that you can still log to localhost
at the port you tunnel. This isn't required to get a remote server working, however it does make the semantics equivalent to if you run the server and the plotting script on the same machine.
That being said, it seems something isn't quite right with your underlying setup:
Failed to parse: http://http::8098/env/main
You can see here how we parse the incoming domain and configuration details: https://github.com/fossasia/visdom/blob/026958a66ce743f59e8f5232e974138c76b31675/py/visdom/__init__.py#L392-L405
It might be worthwhile to add some print statements to understand why it is we're parsing out http://http::8098/env/main
as the final address, rather than the http://ncc1.clients.dur.ac.uk:8098/env/main
you may expect.
I want to use
visdom
to visualize the results of my trained deep learning algorithm which has been running on a remote cluster server. First I am wondering whether I should use special command line to connect viassh
to the cluster or not to be able to see the visdom plots?In my slurm script I used the following command line:
python -u script.py --visdom_server "http://ncc1.clients.dur.ac.uk" --visdom_port 8098
and in my python scriptI got this error:
How can I run my plotting script on a remote server? Is there anyway to do this? Thanks.