zhangfuyang/rl_CARLA

The car doesn't move

Yiquan-lol opened this issue · 9 comments

Hello, I'm running DDPG main.py, but the car doesn't move
What should I do, please

can you specify what platform you are using? Not sure if some settings cause the problem. As far as I remember, I used ubuntu16.04 + carla0.8 + tf1.12. This setting should work.

can you specify what platform you are using? Not sure if some settings cause the problem. As far as I remember, I used ubuntu16.04 + carla0.8 + tf1.12. This setting should work.

ubuntu16.04 + carla0.8 + tf1.14

does inference work? run "python test_ddpg.py -model_path='models/'"

does inference work? run "python test_ddpg.py -model_path='models/'"

I can see the car moving

mmm, so not sure what causes the no movement of the car. Currently, I don't have the environment on my device, so I couldn't test it. I will leave the issue open, hope someone also has this problem and will share a solution.

Sorry for being useless...

mmm, so not sure what causes the no movement of the car. Currently, I don't have the environment on my device, so I couldn't test it. I will leave the issue open, hope someone also has this problem and will share a solution.

Sorry for being useless...
I found your old code on https://github.com/zhangfuyang/DDPG-CARLA, I tried to run the ddpg_main. py, but each Episode the car move a little and the Episode is over. I wonder if it's because I just started training

Ah, good point. Could be that reason. I remember I trained the network for like two days. In the beginning, it could be very abnormal behaviors.

Ah, good point. Could be that reason. I remember I trained the network for like two days. In the beginning, it could be very abnormal behaviors.

Yeah. The car was able to move after a night of training. I see Max_Episode=1000000 in the parameter, I want to know how long the training takes

i don't know how many epochs exactly. Roughly, I used a k80 gpu, and trained 2 days.