Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

EINTR not handled #45

Open
motiwari opened this issue Mar 6, 2018 · 0 comments
Open

EINTR not handled #45

motiwari opened this issue Mar 6, 2018 · 0 comments

Comments

@motiwari
Copy link

motiwari commented Mar 6, 2018

Often with the function net.summary.add_scalar_value(...), I intermittently get the following error:

requests.exceptions.ConnectionError: HTTPConnectionPool(host=IP, port=8889): Max retries exceeded with url: /data/scalars?xp=VGG&name=Train%20R%5E2 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at MEMORY_ADDRESS>: Failed to establish a new connection: [Errno 4] Interrupted system call',))

My pycrayon server is on my local machine whereas the computation (that is sending this request) is on a remote machine.

This is in the Python 2.7 version of pycrayon. I think that this request should be retried until it succeeds, as per https://stackoverflow.com/questions/14136195/what-is-the-proper-way-to-handle-in-python-ioerror-errno-4-interrupted-syst, which is the default behavior in Python 3.5.

I'm new to pytorch and crayon, so please forgive me if I'm mistaken.

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

No branches or pull requests

1 participant