tubeshowcase●1,029,126 videosβ™‘ My collection 0
← Learn to Code

Learn to Code1:38:34

Python + PyTorch + Pygame Reinforcement Learning – Train an AI to Play Snake

freeCodeCamp.org β†—

From the creator

In this Python Reinforcement Learning course you will learn how to teach an AI to play Snake! We build everything from scratch using Pygame and PyTorch. πŸ’» Code: https://github.com/python-engineer/snake-ai-pytorch ✏️ Course developed by Python Engineer. Check out his YouTube channel: https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA 🎨 Art by Rachel: http://rachel.likespizza.com/ ❀️ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba) ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Part 1: Basics of Reinforcement Learning and Deep Q Learning ⌨️ (0:17:22) Part 2: Setup environment and implement snake game ⌨️ (0:40:07) Part 3: Implement agent to control game ⌨️ (1:10:59) Part 4: Create and train neural network πŸŽ‰ Thanks to our Champion and Sponsor supporters: πŸ‘Ύ Raymond Odero πŸ‘Ύ AgustΓ­n Kussrow πŸ‘Ύ aldo ferretti πŸ‘Ύ Otis Morgan πŸ‘Ύ DeezMaster -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Published 2022-04-25 Β· Watch on YouTube β†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code