GoogleCloudPlatform / tensorflow-without-a-phd

A crash course in six episodes for software developers who want to become machine learning practitioners.
Apache License 2.0
2.79k stars 911 forks source link

ConnectionResetError: [WinError 10054] An existing connection was forcibly close d by the remote host #15

Closed Yigal closed 6 years ago

Yigal commented 6 years ago

MNIST: Successfully downloaded and unzipped train-images-idx3-ubyte.gz 9912422 bytes. Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1285, in _send_reques t self.endheaders(body, encode_chunked=encode_chunked) File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1026, in _send_output

self.send(msg)

File "C:\ProgramData\Anaconda3\lib\http\client.py", line 964, in send self.connect() File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1400, in connect server_hostname=server_hostname) File "C:\ProgramData\Anaconda3\lib\ssl.py", line 407, in wrap_socket _context=self, _session=session) File "C:\ProgramData\Anaconda3\lib\ssl.py", line 814, in init self.do_handshake() File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1068, in do_handshake self._sslobj.do_handshake() File "C:\ProgramData\Anaconda3\lib\ssl.py", line 689, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [WinError 10054] An existing connection was forcibly close d by the remote host

martin-gorner commented 6 years ago

It looks like your python install has trouble downloading things from the internet. An alternative is to download the files manually and put them in a folder called "data". The training will use them and will not try to download them again.

Muthu-Mariappan-h commented 6 years ago

Yes.I also have the same problem. Then I downloaded it manually as you said. But the IDLE says that it is incompatible.