deeplearning4j-examples icon indicating copy to clipboard operation
deeplearning4j-examples copied to clipboard

Cartpole error

Open hanbaoan123 opened this issue 6 years ago • 3 comments

Issue Description

I am running Cartpole example but troubled with a problem and I have run rhe gym_http_server.py.

十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: I/O exception (java.net.BindException) caught when processing request to {}->http://127.0.0.1:5000: Address already in use: connect 十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: Retrying request to {}->http://127.0.0.1:5000 十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: I/O exception (java.net.BindException) caught when processing request to {}->http://127.0.0.1:5000: Address already in use: connect 十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: Retrying request to {}->http://127.0.0.1:5000 十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: I/O exception (java.net.BindException) caught when processing request to {}->http://127.0.0.1:5000: Address already in use: connect 十月 10, 2019 11:13:36 上午 org.apache.http.impl.execchain.RetryExec execute 信息: Retrying request to {}->http://127.0.0.1:5000

Version Information

Please indicate relevant versions, including, if relevant:

  • DeepLearning4j Examples Parent 1.0.0-beta5

Contributing

If you'd like to help us fix the issue by contributing some code, but would like guidance or help in doing so, please mention it!

hanbaoan123 avatar Oct 10 '19 03:10 hanbaoan123

How did you start the OpenAI Gym HTTP server?

saudet avatar Oct 10 '19 05:10 saudet

How did you start the OpenAI Gym HTTP server?

I started it with 'python gym_http_server.py', the example ran properly at first and then reported the error.

image

hanbaoan123 avatar Oct 10 '19 07:10 hanbaoan123

It's known to not work well on Windows. Do you get the same thing on Linux?

saudet avatar Oct 10 '19 09:10 saudet