AI Learns How to Play Pong - Reinforcement Learning

preview_player
Показать описание
This video shows how deep reinforcement learning agent learns to play against a hard-coded bot. DeepQ architecture is used for the AI agent. At first, AI had two available actions: Up, Down. Due to the unstable behavior, the final AI has three actions: Up, Do Nothing, Down.

Don't forget to subscribe and click on the bell :)
Рекомендации по теме
Комментарии
Автор

hey I am having issues with it, I have also made my own, do you have discord? bcz my model is not learning anything, and I am getting frustated now because it's been since 3 weeks not I am training!

AbhayShinde-fzwd
Автор

Yo how long did it take to train? Overnight I was able to train a somewhat good pong ai going against a hard coded one that follows the ball, but I wanted to do more so now I'm trying out self play and I think I know why you decided not to do that, they're really fucking stupid XD. Good luck in your endevors

praxition
Автор

Great!! I suppose you used raw data from the game memory, not visual. Because my agent has similar behavior. Do you remember what type of data you passed to it (ball_x, paddle_y)? Or maybe the model and if it was one with how many layers?

anseg
Автор

Hey can you share the code you wrote for this ? thank you

vent_srikar