Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Use Machine Learning AI in Unity - ML-Agents

Code Monkey via YouTube

Overview

Unlock the power of Machine Learning AI in Unity with this comprehensive 45-minute tutorial. Learn how to set up ML-Agents, create and train intelligent agents, and implement machine learning in your Unity projects. Begin with an introduction to machine learning and ML-Agents, then dive into the installation process for Python, PyTorch, CUDA, and ML-Agents. Create a new Unity project and develop an agent with custom actions and observations. Explore training techniques, including heuristics testing and reward systems. Implement a trained brain model, improve its performance, and visualize results using TensorBoard. By the end of this tutorial, you'll have the skills to create and train AI agents for your Unity games and applications.

Syllabus

What is Machine Learning, ML-Agents
Installation Python, PyTorch, CUDA, ML-Agents

New Unity Project

Create Agent

Agent Actions

Test Training

Agent Observations

Agent Reward

Heuristics Testing

Training

Use Trained Brain Model

Improve Brain Model

TensorBoard Visualization

Final Result

Taught by

Code Monkey

Reviews

Start your review of How to Use Machine Learning AI in Unity - ML-Agents

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.