HNHacker News
TopNewBestAskShowJobs

yanpanlau

0 karma · joined July 14, 2016

submissionscomments
yanpanlau··on 24-core CPU and I can’t move my mouse
Just use linux
yanpanlau··on Using Keras and Deep Deterministic Policy Gradient to play TORCS
Please find the result below. I modified the reward function such that staying in the middle of the track is no longer required.

https://youtu.be/Tb5gASEJIRM

yanpanlau··on Using Keras and Deep Deterministic Policy Gradient to play TORCS
Hi Bluetwo, I am currently travelling to the San Francisco right now. Can you send me a e-mail yanpan@gmail.com so I can contact you and e-mail you the result directly when I back to Hong Kong?
yanpanlau··on Using Keras and Deep Deterministic Policy Gradient to play TORCS
Hi~I used Aalborg track as my training dataset and I used Alpine1 track as my validation dataset. The Alpine1 track is 3 times longer than Aalborg. As you can see on the video, the agent can drive reasonably OK on the validation dataset.
yanpanlau··on Using Keras and Deep Deterministic Policy Gradient to play TORCS
Staying in the middle of the track is not a necessary requirement in the reward function. The reason I include it is to speed up the learning time in the beginning. You can remove it once you learn a reasonable policy and see it the agent can find the optimal apex path. I will do a test tonight.

Just like in human world : You first learn how to drive before you learn how to drift the car.

yanpanlau··on Using Keras and Deep Deterministic Policy Gradient to play TORCS
It is quite easy to change the input features as pixels and fit into convnet under Keras (That's why I love Keras so much). However, gym_torcs only support 64x64 pixels and it is hard to see by human eyes, IMHO.

https://github.com/ugo-nama-kun/gym_torcs/issues/4