imitation-learning
imitation-learning copied to clipboard
Impossible to connect
Hello,
The run_cil.py
script cannot connect to the server. When trying to establish a connection, I get a connection refused or connection timed out errors. I know this is not a firewall or network reachability problem as I can run the manual_driving.py
script and can control the vehicle remotely.
Find the output generated by running run_CIL.py below. I'd appreciate if any potential solution is shared.
=== Conv 0 : 5 2 32
Dropout 0
Tensor("Network/conv_block0/relu1:0", shape=(?, 42, 98, 32), dtype=float32)
=== Conv 1 : 3 1 32
Dropout 1
Tensor("Network/conv_block1/relu2:0", shape=(?, 40, 96, 32), dtype=float32)
=== Conv 2 : 3 2 64
Dropout 2
Tensor("Network/conv_block2/relu3:0", shape=(?, 19, 47, 64), dtype=float32)
=== Conv 3 : 3 1 64
Dropout 3
Tensor("Network/conv_block3/relu4:0", shape=(?, 17, 45, 64), dtype=float32)
=== Conv 4 : 3 2 128
Dropout 4
Tensor("Network/conv_block4/relu5:0", shape=(?, 8, 22, 128), dtype=float32)
=== Conv 5 : 3 1 128
Dropout 5
Tensor("Network/conv_block5/relu6:0", shape=(?, 6, 20, 128), dtype=float32)
=== Conv 6 : 3 1 256
Dropout 6
Tensor("Network/conv_block6/relu7:0", shape=(?, 4, 18, 256), dtype=float32)
=== Conv 7 : 3 1 256
Dropout 7
Tensor("Network/conv_block7/relu8:0", shape=(?, 2, 16, 256), dtype=float32)
Tensor("Network/reshape:0", shape=(?, 8192), dtype=float32)
=== FC 0 : 512
Dropout 8
Tensor("Network/fc1/relu9:0", shape=(?, 512), dtype=float32)
=== FC 1 : 512
Dropout 9
=== FC 2 : 128
Dropout 10
=== FC 3 : 128
Dropout 11
=== FC 4 : 512
Dropout 12
=== FC 5 : 256
Dropout 13
=== FC 6 : 256
Dropout 14
Tensor("Network/Branch_0/fc7/relu15:0", shape=(?, 256), dtype=float32)
=== FC 8 : 256
Dropout 15
=== FC 9 : 256
Dropout 16
Tensor("Network/Branch_1/fc10/relu17:0", shape=(?, 256), dtype=float32)
=== FC 11 : 256
Dropout 17
=== FC 12 : 256
Dropout 18
Tensor("Network/Branch_2/fc13/relu19:0", shape=(?, 256), dtype=float32)
=== FC 14 : 256
Dropout 19
=== FC 15 : 256
Dropout 20
Tensor("Network/Branch_3/fc16/relu21:0", shape=(?, 256), dtype=float32)
=== FC 17 : 256
Dropout 21
=== FC 18 : 256
Dropout 22
Tensor("Network/Branch_4/fc19/relu23:0", shape=(?, 256), dtype=float32)
Restoring from D:\auto_dev\CARLA\CARLA_0.8.2\PythonClient\agents\imitation/model/model.ckpt-450000
D:\Program Files\Python\Python36\lib\site-packages\h5py\__init__.py:36: FutureWa
rning: Conversion of the second argument of issubdtype from `float` to `np.float
ing` is deprecated. In future, it will be treated as `np.float64 == np.dtype(flo
at).type`.
from ._conv import register_converters as _register_converters
INFO: listening to server localhost:2000
INFO:tensorflow:Restoring parameters from D:\auto_dev\CARLA\CARLA_0.8.2\PythonCl
ient\agents\imitation/model/model.ckpt-450000
INFO: Restoring parameters from D:\auto_dev\CARLA\CARLA_0.8.2\PythonClient\agent
s\imitation/model/model.ckpt-450000
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
INFO: START
ERROR: (localhost:2000) failed to read data: timed out
ERROR: (localhost:2000) failed to read data: [WinError 10054] An existing connec
tion was forcibly closed by the remote host
Same problem here . Any update to the question would be life saving.
Are you running on windows ? I can't reproduce the error =/
Yes I am running on windows.
I am running on Windows too.
On 19 June 2018 at 13:39, soham2017 [email protected] wrote:
Yes I am running on windows.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/carla-simulator/imitation-learning/issues/32#issuecomment-398384252, or mute the thread https://github.com/notifications/unsubscribe-auth/AQUNuRrjKqlABuKpKz6xCvRM2iV8QwABks5t-PEAgaJpZM4T6hx4 .
I am running on Ubuntu, meet the same problem... @felipecode
Same problem here. I guess its due to carla version. Someone had similar problem but with the python client. I think the older version shall be installed inorder to work with imitation learning. https://github.com/carla-simulator/carla/issues/697
I'm using carla 0.8.2.2, but I'm still facing this problem. Any idea how to fix it? @arashroomi @soham2017 @eds89
Still encountering this problem
For carla 0.8.2, use the param -carla-server to start carla simulator. ./CarlaUE4.sh -carla-server