Python + PyTorch + Pygame Reinforcement Learning โ€“ Train an AI to Play Snake

JavaScript / Web 486.4K ืฆืคื™ื•ืช 25/04/2022
ืคืชื— ื‘-YouTube

ื“ืจื’ ืกืจื˜ื•ืŸ ื–ื”

ื”ืชื—ื‘ืจ ื›ื“ื™ ืœื“ืจื’

ืชื™ืื•ืจ

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

#freeCodeCamp.org