Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run train_sac.py in map(a), and the car gets stuck in circling around the start location #3

Open
YYan99 opened this issue Mar 8, 2021 · 4 comments

Comments

@YYan99
Copy link

YYan99 commented Mar 8, 2021

How can i solve it ? And how to train the car by using DQN, DDPG ? Thank you

@caipeide
Copy link
Owner

This phenomenon of circling around also happened during my experiments but after some update times (maybe half an hour, or longer), the agent can jump out from this phenomenon.

@nexthybrid
Copy link

nexthybrid commented Apr 29, 2021

I have a similar issue, the car hits the boundary and gets stuck for quite a while before moving back to road center, and in some cases gets stuck forever and couldn't get back to the road.
but I see additional error msg from terminal:
AttributeError: 'HUD' object has no attribute 'notification'.

I checked the file carla_tools.py from line 502 to 523, indeed there's no 'notification' attribute defined for the class 'HUD'. Could it be removed during certain commit?

Traceback pointing to /code/carla_tools.py line 726, which says
self.hud.notification("Collision with %r" % actor_type)
, see snapshot below.

error_durng_training

Edit: I'm running train_sac.py with the train map (./CarlaUE4.sh /Game/Carla/ExportedMaps/train), the vehicle takes a right turn and hits the road boundary, then the error message above seem to loop endlessly.

@ToniButland1998
Copy link

@Yan81192 Hi Yan, how did you find the maps. I can't find any file related to the maps in this repository. Thank you for your help!

@YYan99
Copy link
Author

YYan99 commented Aug 15, 2021

@Yan81192 Hi Yan, how did you find the maps. I can't find any file related to the maps in this repository. Thank you for your help!
Hi, you can download this version CARLA, it contained the maps.

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

No branches or pull requests

4 participants