drift_drl icon indicating copy to clipboard operation
drift_drl copied to clipboard

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

Open YYan99 opened this issue 3 years ago • 4 comments

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

YYan99 avatar Mar 08 '21 10:03 YYan99

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.

caipeide avatar Mar 10 '21 04:03 caipeide

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.

nexthybrid avatar Apr 29 '21 04:04 nexthybrid

@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!

ToniButland1998 avatar Aug 07 '21 16:08 ToniButland1998

@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.

YYan99 avatar Aug 15 '21 04:08 YYan99