Back to Browse

How To Use MACHINE LEARNING In Unity MLAgents Setup & Basic Environment - Pellet Grabber Tutorial #1

27.3K views
Oct 13, 2023
59:49

Hi all! In this series we will be exploring the Unity MLAgents library. We are using reinforcement learning to develop a neural network for our AI to use to solve problem environments that we create for it. In this video we walk through the setup of MLAgents and craft a basic Unity environment for the Agent to learn in. Channels I recommend checking out for more MLAgents content: https://www.youtube.com/@theashbot4097 https://www.youtube.com/@CodeMonkeyUnity Playlist: https://www.youtube.com/playlist?list=PLhOLzjLZmaVdpnux85hqEGEBeqzcQsYNt - Time Stamps - 0:00 - Intro 0:11 - Unity Setup 2:32 - Python 6:25 - Create Virtual Environment 9:43 - Install Dependencies 14:00 - Unity Environment 24:09 - OnActionReceived 27:38 - CollectObservations 30:44 - Create Target 32:49 - OnTriggerEnter 36:13 - OnEpisodeBegin 40:37 - Changes to Agent 41:38 - Heuristic 44:12 - Bug Fix 51:21 - Real Time Training Session 53:12 - Sped Up Training 53:20 - Improve Training Time 54:32 - Sped Up Training 54:41 - Fixing Reward Issue 55:59 - Proper Training Run 57:18 - Using Neural Network

Download

1 formats

Video Formats

360pmp477.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How To Use MACHINE LEARNING In Unity MLAgents Setup & Basic Environment - Pellet Grabber Tutorial #1 | NatokHD