Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visdom use_incoming_socket argument #354

Closed
robert780612 opened this issue May 15, 2018 · 11 comments
Closed

visdom use_incoming_socket argument #354

robert780612 opened this issue May 15, 2018 · 11 comments

Comments

@robert780612
Copy link

OS ubuntu 16.04
visdom 0.1.8.2

While I was running visdom server, terminal displayed the following warning message.

WARNING:visdom:Visdom
python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with use_incoming_socket=False, which will prevent waiting for this request to timeout.

But there is no command line option called use_incoming_socket.
For example, I typed the following command in the terminal:
python -m visdom.server --use_incoming_socket=False

Downloading scripts. It might take a while.
usage: server.py [-h] [-port port] [-env_path env_path]
[-logging_level logger_level] [-readonly]
server.py: error: unrecognized arguments: --use_incoming_socket=False

How can I turn off the use_incoming_socket?

Thanks

@JackUrb
Copy link
Contributor

JackUrb commented May 15, 2018

Hi @robert780612 - this was an unintended side-effect of #352, but a fix is out in #355. The server should never need to use the incoming socket.

@asaxenastanford
Copy link

@JackUrb I'm still getting this issue. Are there any fixes?

@JackUrb
Copy link
Contributor

JackUrb commented Jul 31, 2018

Have you updated visdom? What is your visdom version?

@asaxenastanford
Copy link

@JackUrb I have version 0.1.8.4. I am running the server, but I receive a warning about the socket and eventually my training script crashes. It says: Could not connect to Visdom server (https://github.com/facebookresearch/visdom) for displaying training progress.
You can suppress connection to Visdom using the option --display_id -1.

@JackUrb
Copy link
Contributor

JackUrb commented Aug 1, 2018

Are you using visdom through some other sourced script? We don't have any message like you've described, and it's possible they're not up to date and I'd like to let them know. You might be successful by simply using visdom.Visdom(use_incoming_socket=False) in that script but I don't have enough context to know.

You should also try running the demo.

@asaxenastanford
Copy link

@JackUrb Yes, I am running train.py from this style GAN repository.

@JackUrb
Copy link
Contributor

JackUrb commented Aug 1, 2018

Have you launched a visdom server using visdom in a screen on your command line before running the train script? I'm guessing it can't connect because you don't have one running (and thus this problem is unrelated to the issue you've attached it to)

@asaxenastanford
Copy link

@JackUrb The server is running on command line.

@JackUrb
Copy link
Contributor

JackUrb commented Aug 1, 2018

Have you tried the demo script from this repo? I can't debug through an external script if I can't reproduce it. Also does the visdom server appear when you go to localhost:8097? Are you running the train script on a different machine through an ssh tunnel or the like?

@robert780612
Copy link
Author

Hi @JackUrb
I tried the cyclegan repo, and it works fine.
screenshot from 2018-08-02 09-44-39

screenshot from 2018-08-02 09-46-03

@JackUrb
Copy link
Contributor

JackUrb commented Aug 2, 2018

Thanks @robert780612 - sorry about the noise here. @asaxenastanford please try to reproduce your issue using our demo and then open a new issue for it, as it is likely something is wrong with your setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants