Showing posts with label Neural Net. Show all posts
Showing posts with label Neural Net. Show all posts

Thursday, December 24, 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 PyTorch Course: https://youtube.com/playlist?list=PLqnslRFeH2UrcDBWF5mfPGpqQDSta6VK4 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

Wednesday, December 23, 2020

Python Snake AI Tutorial - Reinforcement Learning - Creating The Agent (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 third part we implement the agent that controls the game. ๐Ÿช 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 Python Deque: https://docs.python.org/3/library/collections.html#collections.deque 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

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

Tuesday, December 22, 2020

Python Snake AI Tutorial - Reinforcement Learning - Creating The Snake (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 second part we setup the environment and implement the Snake game. ๐Ÿช 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

Python Snake AI Tutorial - Reinforcement Learning - Creating The Agent (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 second part we setup the environment and implement the Snake game. ๐Ÿช 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 Python Deque: https://docs.python.org/3/library/collections.html#collections.deque 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

Monday, December 21, 2020

Python Snake AI Tutorial - Reinforcement Learning - Deep Q Learning (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 first part I'll show you the project and teach you some basics about Reinforcement Learning and Deep Q Learning. ๐Ÿช 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! 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

Python Snake AI Tutorial - Reinforcement Learning - Creating The Snake (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 second part we setup the environment and implement the Snake game. ๐Ÿช 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