carla-rl-gym / carla-rl Goto Github PK
View Code? Open in Web Editor NEWReinforcement Learning Agents Trained in the CARLA Simulator
License: MIT License
Reinforcement Learning Agents Trained in the CARLA Simulator
License: MIT License
Thank you for your great work!
I follow your instructions here and run nvidia-docker run -it --network=host -v $PWD:/app carla-client /bin/bash
.
Error reported:
$ nvidia-docker run -it --network=host -v $PWD:/app carla-client /bin/bash
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:385: running prestart hook 0 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --require=cuda>=10.0 brand=tesla,driver>=384,driver<385 --pid=2968 /var/lib/docker/overlay2/ef4f31179c2e2eeb33275988cc9bf2c2e03be5e9319d8baea3ceeb0e048d0497/merged]\\\\nnvidia-container-cli: requirement error: invalid expression\\\\n\\\"\"": unknown.
Do you have any suggestions?
I am training carla with a2c, with only one process, with cpu it runs but I see quite often :
Episodes 312, Updates 3911, num timesteps 78220, FPS 12.578678451185294
Collision
It crashes into walls or gets out of the road quite often. Is that ok?
Could you add a license for the project?
Dear Mr.Segal,
I will appreciate it, if you can forward me with any contact details for you.
You can email me on: [email protected]
Thanks.
Hi
if I run
observation_space, action_space = self.remotes[0].recv()
Then,
/home/cecilia/anaconda3/envs/ros/lib/python3.8/site-packages/gym/logger.py:30: UserWarning: WARN: Box bound precision lowered by casting to float32
warnings.warn(colorize('%s: %s'%('WARN', msg % args), 'yellow'))
Trying to make client on port 2021
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2000) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2003) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2006) failed to connect: [Errno 111] Connection refused
(127.0.0.1:2012) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2015) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2009) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2018) failed to connect: [Errno 111] Connection refused
Got TCPConnectionError..sleeping for 1
(127.0.0.1:2021) failed to connect: [Errno 111] Connection refused
Trying to make client on port 2000
Trying to make client on port 2003
Trying to make client on port 2006
Trying to make client on port 2012
Trying to make client on port 2015
Trying to make client on port 2009
Trying to make client on port 2018
Trying to make client on port 2021
How to implement muti-branches CIRL DDPG in papaer "CIRL: Controllable Imitative Reinforcement Learning for Vision-based Self-driving"?
Hi,
I have already install the CARLA in ubuntu 16.04.
what should i do to reproducing the results in RL.
total_steps += config.num_processes * config.num_steps
L197 in train.py should be outside the step loop.
Hi, I followed the instructions in the README but with the carla server running, when try to run a client I get the following error:
:/app# python client/train.py --config client/config/a2c.yaml
Environment 0 running in port 2000
Trying to make client on port 2000
Environment 1 running in port 2003
Trying to make client on port 2003
Environment 2 running in port 2006
Trying to make client on port 2006
Environment 3 running in port 2009
Trying to make client on port 2009
Environment 4 running in port 2012
Trying to make client on port 2012
Environment 5 running in port 2015
Trying to make client on port 2015
Environment 6 running in port 2018
Trying to make client on port 2018
Environment 7 running in port 2021
Trying to make client on port 2021
Successfully made client on port 2000
Traceback (most recent call last):
File "client/train.py", line 301, in
main()
File "client/train.py", line 117, in main
video_every=args.video_interval, video_dir=os.path.join(args.save_dir, 'video', experiment_name))
File "/app/client/envs_manager.py", line 45, in make_vec_envs
envs = VecPyTorchFrameStack(envs, num_frame_stack, device)
File "/app/client/envs_manager.py", line 139, in init
low=low, high=high, dtype=venv.observation_space.dtype)
File "/home/user/miniconda/envs/py36/lib/python3.6/site-packages/gym/spaces/box.py", line 21, in init
assert dtype is not None, 'dtype must be explicitly provided. '
And from the server:
[2019.05.03-03.33.36:809][ 0]LogContentStreaming: Texture pool size now 2000 MB
[2019.05.03-03.33.37:044][ 1]LogLinux: Setting swap interval to 'Immediate'
[2019.05.03-03.33.37:044][ 1]LogLinux: Warning: Unable to set desired swap interval 'Immediate'
ERROR:ERROR: tcpserver tcpserver 2002 2000 : error reading message: End of file: error reading message: End of file
[2019.05.03-03.33.38:873][ 3]LogCarlaServer: Warning: Client disconnected, server needs restart
[2019.05.03-03.33.38:873][ 3]LogCarlaServer: Restarting the level...
[2019.05.03-03.33.38:885][ 4]LogNet: Browse: /Game/Maps/Town01?Name=Player?restart
[2019.05.03-03.33.38:896][ 4]LogLoad: LoadMap: /Game/Maps/Town01?Name=Player
[2019.05.03-03.33.41:203][ 4]LogAIModule: Creating AISystem for world Town01
[2019.05.03-03.33.41:399][ 4]LogLoad: Game class is 'CarlaGameMode_C'
[2019.05.03-03.33.41:657][ 4]LogWorld: Bringing World /Game/Maps/Town01.Town01 up for play (max tick rate 0) at 2019.05.03-03.33.41
[2019.05.03-03.33.41:658][ 4]LogCarla: Loading weather description from ../../../CarlaUE4/Config/CarlaWeather.ini
[2019.05.03-03.33.41:659][ 4]LogCarla: Loading weather description from ../../../CarlaUE4/Config/CarlaWeather.Town01.ini
[2019.05.03-03.33.41:661][ 4]LogCarlaServer: Waiting for the client to connect...
^C[2019.05.03-03.33.42:370][ 4]LogLinux: FLinuxPlatformMisc::RequestExit(bForce=false, ReturnCode=130)
[2019.05.03-03.33.42:370][ 4]LogLinux: FLinuxPlatformMisc::RequestExit(0)
[2019.05.03-03.33.42:370][ 4]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
ERROR:[2019.05.03-03.33.51:661][ 4]LogCarlaServer: Warning: Failed to initialize, server needs restart
tcpserver 0 : connection failed: Operation canceled
Any ideas on why this is occurring?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.