Resource of free step by step video how to guides to get you started with machine learning.
Friday, December 24, 2021
Build an Mario AI Model with Python | Gaming Reinforcement Learning
Teach AI to play Super Mario In this video you'll learn how to: Setup a Mario Environment Preprocess Mario for Applied Reinforcement Learning Build a Reinforcement Learning model to play Mario Take a look at the final results Get the code: https://github.com/nicknochnack/MarioRL Links: Super Mario RL: https://pypi.org/project/gym-super-mario-bros/ Nes Py: https://pypi.org/project/nes-py/ OpenAI Gym: https://gym.openai.com/ PyTorch: https://pytorch.org/get-started/locally/ PPO Algorithm: https://stable-baselines3.readthedocs.io/en/master/modules/ppo.html Intro to RL Loss: https://spinningup.openai.com/en/latest/spinningup/rl_intro3.html 0:00 - Start 0:18 - Introduction 0:44 - Explainer 1:58 - Client Interview 1 2:02 - Animation 1 2:30 - Tutorial Start 3:22 - Setting Up Mario 10:44 - Running the Game 18:26 - Understanding the Mario State and Reward 20:44 - Client Interview 2 21:38 - Preprocessing the Environment 26:22 - Installing the RL Libraries 31:11 - Applying Grayscaling 35:32 - Applying Vectorization 36:56 - Applying Frame Stacking 42:46 - Client Conversation 3 43:05 - Animation 3 44:00 - Importing the PPO Algorithm 47:33 - Setting Up the Training Callback 50:13 - Creating a Mario PPO Model 55:30 - Training the Reinforcement Learning Model 1:02:40 - Client Conversation 4 1:02:56 - Animation 4 1:04:01 - Loading the PPO Model 1:06:10 - Using the AI Model 1:15:56 - Client Conversation 5 1:16:37 - Ending Oh, and don't forget to connect with me! LinkedIn: https://bit.ly/324Epgo Facebook: https://bit.ly/3mB1sZD GitHub: https://bit.ly/3mDJllD Patreon: https://bit.ly/2OCn3UW Join the Discussion on Discord: https://bit.ly/3dQiZsV Happy coding! Nick P.s. Let me know how you go and drop a comment if you need a hand! #ai #python
Subscribe to:
Post Comments (Atom)
-
Using GPUs in TensorFlow, TensorBoard in notebooks, finding new datasets, & more! (#AskTensorFlow) [Collection] In a special live ep...
-
Quick answer: Qwen 3 32B needs about 22.7 GB of VRAM at Q4_K_M with a 4k-token context — a used 24 GB card like the RTX 3090 is the minimu...
-
Inside TensorFlow: Summaries and TensorBoard [Collection] Take an inside look into the TensorFlow team’s own internal training sessions-...
-
Hey everyone This is Ujjwal kapil B.tech 2nd year Ai and Ml In this video we covered one of the most important question "COLLEGE KAB O...
-
Quick answer: DeepSeek V4 Flash is a Mixture-of-Experts model: all 284 billion parameters must be stored, so combined RAM plus VRAM — not ...
-
This video is a crash course on understanding how finetuning on LLM models can be performed uing QLORA,LORA, Quantization using LLama2, Grad...
-
In this video, you'll learn how to use machine learning, computer vision and deep learning to create a football analysis system. This pr...
-
Quick answer: For most learners, the best single machine learning book is Hands-On Machine Learning with Scikit-Learn, Keras & Tensor...
-
#minecraft #neuralnetwork #backpropagation I built an analog neural network in vanilla Minecraft without any mods or command blocks. The n...
-
Quick answer: For an 8B model at Q4, local electricity costs roughly $0.05 per million output tokens — against about $0.53 per million ble...
No comments:
Post a Comment