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

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=L8ypSXwyBds



Duration: 1:38:34
200,847 views
5,375


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/

⭐️ 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




Other Videos By freeCodeCamp.org


2022-05-23React Testing Course for Beginners – Code and Test 3 Apps
2022-05-19Drum Machine with Python and Pygame – Full Project Course
2022-05-17SQL Server Performance Essentials – Full Course
2022-05-12Self-Driving Car with JavaScript Course – Neural Networks and Machine Learning
2022-05-09Build a Social Media App with Django – Python Web Framework Tutorial
2022-05-05Data Visualization with D3 – Full Course for Beginners [2022]
2022-05-04React Router 6 – Tutorial for Beginners
2022-05-02Google Cloud Associate Cloud Engineer Course - Pass the Exam!
2022-04-28Blazor WebAssembly & Web API on .NET 6 – Full Course (C#)
2022-04-27Assembly Language Programming with ARM – Full Tutorial for Beginners
2022-04-25Python + PyTorch + Pygame Reinforcement Learning – Train an AI to Play Snake
2022-04-20Redux Toolkit Tutorial – JavaScript State Management Library
2022-04-18Python Game Development Project Using OOP – Minesweeper Tutorial (w/ Tkinter)
2022-04-13Low-Code for Freelance Developers & Startups – Tutorial
2022-04-11Learn Terraform (and AWS) by Building a Dev Environment – Full Course for Beginners
2022-04-08Let's Play Break The Code 2 – Code Cracking Game for Developers with Tom and Shaun
2022-04-07Figma Variants – Design a Scalable Mobile App [Full Course]
2022-04-04Full Gitpod Course – ExamPro Cloud Developer Environment Certification
2022-03-31Firebase – Full Course for Beginners
2022-03-30Augmented Reality for Everyone - Full Course
2022-03-29React Project Tutorial – Build a Portfolio Website w/ Advanced Animations