How to use Unity ML Agents in 2024! ML Agents 2.0.1

Описание к видео How to use Unity ML Agents in 2024! ML Agents 2.0.1

In this video I will teach you guys how to use Unity ML Agents from downloading python to getting the AI to work. Along the way I will show you some clean code techniques and I will show to every thing you will need to know to use ML Agents

Python 4.9.13 download page: https://www.python.org/downloads/rele...

Unity Learn ML Agents: https://learn.unity.com/course/ml-age...

If you need any help you can ask me on my Website: https://theashbot.com/

If you want to look at official docs here is a link: https://github.com/Unity-Technologies...

If you want to support me you can buy my AI Text & voice generation asset on the unity asset store: https://assetstore.unity.com/packages...

Here is a git hub page for this project, you will have to do the ML-Agent setup in the CMD yourself. https://github.com/TheAsherbot/HowToU...

Time Stamps -
0:00 - Project Setup.
1:15 - Installing Python.
3:03 - Opening Command Prompt.
3:38 - Verifying Python.
4:20 - Making Virtual Environment.
5:06 - Activating Virtual Environment 1.
5:41 - Installing Pip.
6:18 - Installing ML Agents Python Package.
6:29 - Installing PyTorch.
7:03 - Upgrading ProtoBuf.
7:40 - Test if ML Agents is properly installed.
8:01 - If You Got Errors.
8:06 - Start Working in Unity.
8:09 - Why Use An Environment?
8:36 - Scene Setup.
10:12 - Walls.
11:37 - Adding Colliders.
12:22 - Creating Agent Script.
12:51 - Agent Script Setup.
13:10 - Attacking Agent Script (Behavoir Parameters).
13:56 - OnActionReceived (1).
14:33 - What are Actions (Unity Learn).
15:38 - OnActionReceived (2).
16:43 - Transfrom.localPosition?
17:54 - What Are Observations?
19:04 - CollectObservations (1).
19:24 - SerializedField?
20:14 - CollectObservations (2).
20:30 - Rewords (1).
21:41 - Better Way To Check Collision.
23:34 - Rewords (2).
23:46 - What is an Episode?
24:07 - OnEpisodeBegin.
24:59 - Getting Random Position.
26:09 - Decision Requester.
26:39 - Heuristic (1).
27:04 - What is Heuristic?
27:17 - Heuristic (1).
28:22 - Heuristic Test 1.
28:33 - I Messed up 1.
28:45 - Heuristic Test 2.
29:11 - Adding Better Visual
29:59 - Heuristic Test 3.
30:19 - Activating Virtual Environment 2.
30:41 - MLAgents-Learn.
31:24 - Training Agent 1.
31:34 - Stopping Training.
31:50 - Module onnx is not installed!
32:24 - Multiple Environment.
33:21 - Training Agent 2 (1).
33:38 - I made a mistake.
34:04 - Training Agent 2 (2).
34:23 - Trying to Confuse the Agent 1.
34:56 - Getting Results Form Training .
35:33 - Using the Brian.
36:05 - Trying to Confuse the Agent 2.
36:27 - How to Better Train AI.
37:27 - Why Not to use Local Rotation Here.
37:55 - Training Agent 3 (1).
38:50 - How To Use the Same Run Id.
39:06 - Training Agent 3 (2).
39:28 - How To See How Good The AI Did.
40:33 - Finial Result (Unity Editor).
41:36 - Outro.
42:00 - Finial Result (Full Screen).
--------------------------------------------------------------------
Other great Unity channels:
Code Monkey -    / codemonkeyunity  
Unity -    / unity  
Brackeys -    / brackeys  
--------------------------------------------------------------------
#unity #machinelearning #ai

Комментарии

Информация по комментариям в разработке