Тёмный

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

Dapper Dino
Подписаться 60 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

17 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@melodywillson
@melodywillson 2 года назад
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 :)
@LoneXeaglE
@LoneXeaglE 2 года назад
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.
@thealexguy1486
@thealexguy1486 4 года назад
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?
@JasonPesadelo
@JasonPesadelo 3 года назад
I made one flappy bird 2D ML agents - I put reward between the walls and penalties in the sky---it works pretty good, it takes 8 hours to trainning ---it is not perfect.
@skizooooooooo
@skizooooooooo 4 года назад
Awesome tutorial! Thanks for sharing ^.^ I definitely need to try this
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Have fun :)
@squaresweets857
@squaresweets857 4 года назад
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 :)
@ivanpolkanov3273
@ivanpolkanov3273 4 года назад
Hey bro. You probably have a tone ways but if math doesnt scare u mb u can check jaff heaton channel as variant for begginer.
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
I don't think Ml-Agents are designed to be trained outside of the editor. It "might" be possible but I'm not aware of any way to do it.
@DonGroutsVideos
@DonGroutsVideos 4 года назад
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?
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
I guess you can write some code in the OnEpisodeBegin method that takes the mean reward and then adjusts the pipe handler settings accordingly. I wouldn't recommend it though as it's up to you to make it as easy/difficult as you want and then assuming that you've set up the agent well and that the level is possible, with enough training and with a good enough simulation environment, it should become good enough to play "almost" perfectly.
@lennyroche8089
@lennyroche8089 3 года назад
Exactly what I needed! Thanks!
@holstjt
@holstjt 4 года назад
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.
@Cranky72
@Cranky72 4 года назад
Great video and good explanation. thank you
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Glad you enjoyed!
@samirehman4565
@samirehman4565 4 года назад
Amazing video man.
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Glad you enjoyed it!
@giangbuitam4868
@giangbuitam4868 4 года назад
i have a question. Can i use a ml-agents in real project ?
@gelis07
@gelis07 4 года назад
what?
@JasonPesadelo
@JasonPesadelo 4 года назад
Thanks for the tutorial, great help!!!!
@MienMerk
@MienMerk 4 года назад
Thankyou for sharing 😁
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
No problem 👍
@DailyFootballEditsDFE
@DailyFootballEditsDFE 4 года назад
very nice
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Very nice
@dripyman6146
@dripyman6146 Год назад
Hey does anyone know how to get the trainer config
@Sovreighn7
@Sovreighn7 4 года назад
And now to train them for WAR! MWHAHAHAHA!
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
You've got the right idea :D
@gamingglyphss
@gamingglyphss 4 года назад
first
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Noiceeeee
Далее
How To Control Shaders With Scripts - Shader Graph
12:44
How to use Machine Learning AI in Unity! (ML-Agents)
44:51
Mübariz İbrahimovun atası vəfat etdi
00:14
Просмотров 150 тыс.
would you eat this? #shorts
00:24
Просмотров 1,2 млн
Outsmarted 😂
00:20
Просмотров 6 млн
A.I. Learns to play Flappy Bird
7:46
Просмотров 14 млн
6 Years of Learning Game Development
17:20
Просмотров 162 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 5 млн
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 720 тыс.
How To Create An Advanced Save System In Unity
16:00
Просмотров 31 тыс.
Can AI code Flappy Bird? Watch ChatGPT try
7:26
Просмотров 9 млн