Get Started with ML-Agents in Unity - Part 1: Setup & Installation

Опубликовано: 19 Май 2026
на канале: Ludic Worlds
4,325
152

In this tutorial, we walk through the setup process for Unity ML-Agents, covering both the Unity and Python components. You’ll learn how to install necessary tools, configure the python environment, and run a basic ML-Agents training example within Unity.

📜 Doc containing the 'Commands' used in this video : https://github.com/LudicWorlds/ml-age...

→ Next Video • Get Started with ML-Agents in Unity - Part 2: Basic Concepts:    • Get Started with ML-Agents in Unity - Part...  

💬 Join our Discord community (free!):   / discord  


▬ Support My Work ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

❤️ Support me on Patreon:   / ludicworlds  
☕ Buy me a coffee: https://ko-fi.com/ludicworlds

Thank you for your support!


▬ Timestamps ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

0:00 - Intro
1:22 - Setup Overview
2:07 - Install Visual C++ Redistributable
2:40 - Install CUDA Toolkit
5:32 - Install cuDNN
6:31 - Install Anaconda
7:36 - Anaconda PowerShell Prompt
8:33 - Unity & Python: Key Roles
9:30 - Set Up Virtual Environment
10:59 - Install Dependencies
12:35 - Download ML-Agents Source Code
13:35 - Install ML-Agents Python Package
14:34 - Open Unity Examples Project
15:53 - ML-Agents Unity Package
16:36 - Open Basic Example Scene
17:29 - Start Python Backend
18:49 - Play Basic Example in Unity
19:38 - Training Session Output
20:02 - Resume or Restart Training Session
20:41 - Outro


▬ Useful Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

► ML-Agents Installation Instructions: https://docs.unity3d.com/Packages/com...
► Microsoft Visual C++ Redistributable: https://learn.microsoft.com/en-us/cpp...
► Cuda Toolkit: https://developer.nvidia.com/cuda-too...
► CUDA GPU Compute Capability: https://developer.nvidia.com/cuda/gpus
► CuDNN Downloads: https://developer.nvidia.com/cudnn-do...
► CuDNN → Cuda Toolkit Support Matrix: https://docs.nvidia.com/deeplearning/...
► Miniconda Download: https://www.anaconda.com/download
► ML-Agents GitHub: https://github.com/Unity-Technologies...
► Example Learning Environments: https://github.com/Unity-Technologies...


▬ Credits ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

► Music by - CO.AG Music:    / @co.agmusic  

#Unity #AI #mlagents #reinforcementlearning