Wednesday, December 23, 2020

Python Snake AI Tutorial - Reinforcement Learning - Creating The Model (PyTorch + Pygame)


In this Python Reinforcement Learning Tutorial series we teach an AI to play Snake! We build everything from scratch using Pygame and PyTorch. In this fourth and final part we implement the neural network to predict the moves and train it. 🪁 Code faster with Kite, AI-powered autocomplete that integrates into VS Code! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=pythonengineer&utm_content=description-only 🚀🚀 Get monthly Python and ML Tips: https://www.python-engineer.com/newsletter/ 🚀🚀 SUPPORT ME ON PATREON: https://www.patreon.com/patrickloeber If you enjoyed this video, please subscribe to the channel! Other helpful tutorials: Part 1: https://youtu.be/PJl4iabBEz0 Anaconda Tutorial: https://youtu.be/9nEh-OXVaNI Snake Pygame: https://youtu.be/--nsd2ZeYvs Code: https://github.com/python-engineer/snake-ai-pytorch More Resources about Deep Q Learning: https://www.freecodecamp.org/news/diving-deeper-into-reinforcement-learning-with-q-learning-c18d0db58efe/ https://www.freecodecamp.org/news/an-introduction-to-deep-q-learning-lets-play-doom-54d02d8017d8/ https://towardsdatascience.com/how-to-teach-an-ai-to-play-games-deep-reinforcement-learning-28f9b920440a You can find me here: Website: https://www.python-engineer.com Twitter: https://twitter.com/python_engineer GitHub: https://github.com/python-engineer Music: https://www.bensound.com/ #Python

No comments:

Post a Comment