Unity Machine Learning - How To Setup The Unity ML-Agents ToolKit?

preview_player
Показать описание
Today I am excited to bring Machine Learning content to my YouTube channel and we begin with the basics of setting up your ML environment and showing you how to use pre-trained and training new machine learning models.

Instructions For Unity ML-Agents Setup:

1. Install Python
3. Create A New 3D Unity Project
4. Go To Package Manager and install the ml-agents
5. Copy ml-agents\Project\Assets\ML-Agents to Your Assets Folder
6. Virtual Environment Setup
8. Type pip install mlagents
10. Go back to Unity and hit play and training should begin

ML-Agents GitHub Repository:

ML-Agents Documentation:

Recommended Unity Asset For Today is "Shapes"

*** Support me by Subscribing to the channel as it will help me in bringing a lot more content ***

Support me in Patreon so I can keep doing stuff like this for free!

Get realtime indie development tips from me in Twitter

Subscribe to my indie development videos & game releases newsletter

Blog about Indie development and startup
Рекомендации по теме
Комментарии
Автор

Thank you so much! me and my partner were searching for a proper tutotial for so long... you orginized it all in one video! :)

OHANAgamersTheBestVideosEver
Автор

Ty so much for this video i was about a week to get this working on my windows

saalmoi
Автор

Thank you very much Dilmer, your videos are always helpful

mqa
Автор

your video was very helpful for an easy setup..thanks bro

ritzsaikia
Автор

the file I am getting is .onnx, not .nn,
it's a problem because give me an error when try to attach to the model

mqa
Автор

Great videos. I was wondering if you can make a video about ML-Agents and visual observation.

fouadhaddud
Автор

When I am doing step 5, I am getting error automatically from all the examples. They are like
1: Assets\ML-Agents\Examples\3DBall\Scripts\Ball3DAgent.cs(4, 22): error CS0234: The type or namespace name 'Actuators' does not exist in the namespace 'Unity.MLAgents' (are you missing an assembly reference?)

2: Assets\ML-Agents\Examples\3DBall\Scripts\Ball3DHardAgent.cs(3, 22): error CS0234: The type or namespace name 'Actuators' does not exist in the namespace 'Unity.MLAgents' (are you missing an assembly reference?)

3: Assets\ML-Agents\Examples\Basic\Scripts\BasicActuatorComponent.cs(2, 22): error CS0234: The type or namespace name 'Actuators' does not exist in the namespace 'Unity.MLAgents' (are you missing an assembly reference?)
.
.
.
n: Assets\ML-Agents\Examples\Worm\Scripts\WormAgent.cs(146, 26): error CS0115: no suitable method found to override


PLEASE HELP

Hotheaddragon
Автор

"When you find the youtube channel you didn't know you where searching for"

thomasoreilly
Автор

I can't run the ml agent. I get this error CS0234 can someone help pls thank you.

crypto
Автор

For those who are getting the namespace error of "Actuators" not exist, you need to update to the 1.4.0 version, with is currently only available as preview package

pedromoraes
Автор

Sir can i make body tracking on windows and then test it on my iphone max just wants to know ??

AnandKumar-kzls
Автор

Why does Unity crash everytime when I try to train my model ?

bahrimarwen
Автор

it's a good tutorial fr introducctio to ML-Agemts and machine learning. I would like to know why i can't build to PC/MAC & Linux after install the last ml-agent, actually any version. Please can you help me with that?

sandroalexormeno
Автор

A lot of things have changed now in new unity and ML versions

cfactorygames
Автор

i, m stuck in pip i can, t install ml agents

bensontsai
Автор

Can i use ml-agents in a real project ?

giangbuitam