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

Опубликовано: 16 Июль 2026
на канале: Ludic Worlds
27,888
794

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

The 'Unity Asset Store' links provided below are affiliate links. If you click on them and make a purchase, I may receive a small commission at no extra cost to you. This support helps me continue creating content for this channel.

🏷️ Cyber Week - Main Sale: https://assetstore.unity.com/?on_sale...
⚡ Cyber Week - Daily Flash Deals: https://assetstore.unity.com/?flashde...

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:14 - Install cuDNN
6:11 - Install Anaconda
7:08 - Anaconda PowerShell Prompt
8:05 - Unity & Python: Key Roles
9:03 - Set Up Virtual Environment
10:21 - Install Dependencies
11:57 - Download ML-Agents Source Code
12:57 - Install ML-Agents Python Package
13:57 - Open Unity Examples Project
15:18 - Import ML-Agents Unity Package
16:01 - Open Basic Example Scene
16:57 - Start Python Backend
18:18 - Play Basic Example in Unity
19:07 - Training Session Output
19:30 - Resume or Restart Training Session
20:09 - Outro


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

► ML-Agents Installation Instructions: https://unity-technologies.github.io/...
► Microsoft Visual C++ Redistributable: https://learn.microsoft.com/en-us/cpp...
► Cuda Toolkit: https://developer.nvidia.com/cuda-too...
► Cuda Compatibility: 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://docs.anaconda.com/miniconda/
► 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