How To Create Your Own Flappy Bird AI - Unity Ml-Agents

preview_player
Показать описание
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
Just Here To Plug My Social Media Stuff:
-----------------------------------------------------------------------------------------------------------
If you liked the video then please respond with a like and a subscribe to show your support for the channel and I'll repay you by creating more tutorials for you to enjoy :D
Рекомендации по теме
Комментарии
Автор

15:39 For anyone watching in 2022 getting errors, you need python version 3.9.10 for mlagents-learn to work. If you have a later version, you can install the earlier version (without adding it to the path) and use virtualenv to make a virtual environment using the older python version. You may need to also do pip install torch once in the venv, as it is a dependency of mlagents. Took me a lot of googling to figure this out so hopefully this helps others :)

melodywillson
Автор

Great video !!
For the raycast radius what it does is help you detect small objects by making the radius bigger you will actually have more chances of getting a hit when going by a small object instead of just missing it.

LoneXeaglE
Автор

thanks for the awesome tutorial! How long did you leave the AIs running for before they learnt enough? I've left mine learning for 2 hours with 4.1mil steps and yet it still can barely make it past the first couple. All my other settings are basically the same as yours except for the rays I had 10 instead of 8. Am I missing anything, or does it really just take that long to learn?

thealexguy
Автор

Is there any way to train the bird inside the unity editor without having to use the python things.

Like if I wanted to make a mobile game where you trained your own flappy bird in-game would I be able to do that?

Great vid BTW :)

squaresweets
Автор

Awesome tutorial! Thanks for sharing ^.^
I definitely need to try this

skizooooooooo
Автор

Great video! Is there any way to use this to determine if the level is too difficult or too easy? Then to figure out if the pipes need to be spawned further apart or closer together, or the gap to be increased or decreased?

DonGroutsVideos
Автор

Thanks for the tutorial. Helped a lot! And as always, I learned that the details are important... I missed the part where the bird is sat with a collider as a trigger, so it kind of didn't work as a start.

holstjt
Автор

Great video and good explanation. thank you

Cranky
Автор

i have a question. Can i use a ml-agents in real project ?

giangbuitam
Автор

Thanks for the tutorial, great help!!!!

JasonPesadelo
Автор

And now to train them for WAR! MWHAHAHAHA!

Sovreighn
Автор

Hey does anyone know how to get the trainer config

dripyman