Тёмный

AI Cars learn to drive - UE4 Blueprints 

Slothful Studios
Подписаться 174
Просмотров 39 тыс.
50% 1

Using UE4 blueprints, machine learning and genetic algorithms, I created a car which learns to drive a track.
It uses a neural network with 6 input nodes, 2 hidden layers with 6 nodes each, and 2 output nodes. Each hidden node and output node also has a bias.
A population of 19 cars run simultaneously (but do not interact with each other). After each round, the top 5 cars are chosen based on their fitness score. Their neural networks are mutated randomly by 10%, and they form the next population.

Наука

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

 

14 ноя 2019

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@SynxVII
@SynxVII 4 года назад
would really like a good tutorial on how to make something like this with blueprints
@dankpotato9578
@dankpotato9578 3 года назад
This is probably not blueprint based.
@bingbongbangbingboom
@bingbongbangbingboom 2 года назад
@@dankpotato9578 It is.
@_FLOROID_
@_FLOROID_ 2 года назад
@@bingbongbangbingboom the machine learning part isn't
@bingbongbangbingboom
@bingbongbangbingboom 2 года назад
@@_FLOROID_ oh
@joantonio6331
@joantonio6331 Год назад
Honestly that does not sound too complicated, line traces then orient the car where the trace do not hit... If none hit the keep straight
@UnrealSolver
@UnrealSolver Год назад
Dang mate, that's hella cool! 🔥 Was working on something similar in the past but instead of learning the vehicle was just 'seeing' its surroundings and was setup a way that it will react to the environment and finish the race, but your Machine Learning thing kicks such idea up to the sky!🔥🔥🔥 Great job!😎
@TheEclipse1989
@TheEclipse1989 3 года назад
Did you ever think about scaling rays according to speed? So if it drives faster it can detect the walls earlier on
@lucasromano2795
@lucasromano2795 10 месяцев назад
This reminds me a Genetic Algorithm. I once implemented something similar but individuals should learn a way to escape a labyrinth without going through no exit paths. Very interesting.
@williambeaulieu2046
@williambeaulieu2046 3 года назад
How Do you calculate the fitness score to know which 5 are the best
@RobertAllsopp
@RobertAllsopp 4 года назад
hey any chance you could make a tutorial on how it was made ? i cant find any good videos on machine learning with blueprints
@neillunavat
@neillunavat 3 года назад
You can learn Neuroevolution at YT channel called Coding Train. This is Neuroevolution... Genetic Algorithm and Neural Networks... After that you should learn c# then you will get it. Its easy.
@RobertAllsopp
@RobertAllsopp 3 года назад
@@neillunavat This isn't a form of being selfish we are here because we are looking to learn in the first place. and yes since I posted that comment 11 months ago I have been able to recreate this and build upon it because I found more resources and learning material.
@Simon-pi9qx
@Simon-pi9qx 3 года назад
@@RobertAllsopp can you help me to search for more information about this ? Please :)
@neillunavat
@neillunavat 3 года назад
@@Simon-pi9qx bro i just gave all info u need. Search the terms on google and youtube. Ull find your path.
@HaloDude557
@HaloDude557 2 года назад
@@neillunavat you gave terrible info. Genetic Algorithms are not very good. I am interested in if the video uploader used back propagation. Also, this is UE. No C# at all.
@badrequest5596
@badrequest5596 3 года назад
i did something very similar a couple of years ago too, but in full c++ which is more versatile and readable in making a neural network. but because it was being a little slow to understand to drive in a straight line instead of zig zagging i fed it some recorded data of me driving and let it run through that data and decide for itself. much faster results
@tanzhang4994
@tanzhang4994 Год назад
Damn,this is so cool
@FINALFORMSTUDIOS
@FINALFORMSTUDIOS 4 года назад
Would love to try this out. project files by any chance?
@marcthornton2900
@marcthornton2900 3 года назад
Another request for more info / tutorial on how to do this in bp's or project files. Thank you.
@sedatbilece
@sedatbilece 2 года назад
can you share doc. or project file please ? for the analysis
@giadonovan233
@giadonovan233 3 года назад
But, how to do it with Blueprints?
@mike_gread
@mike_gread Год назад
little advice : make the car spawn at random locations on the map
@travesty-studios
@travesty-studios 2 года назад
Should try on different maps as well
@AVANLOR-qx1cf
@AVANLOR-qx1cf 4 года назад
How to make?
@davidestiz9672
@davidestiz9672 Год назад
@slothfulstudios are you available for new projects?
@hasanrizvihr
@hasanrizvihr Год назад
This is amazing. If i may ask when are you releasing the tutorial? 🙏
@yannmassard3970
@yannmassard3970 3 года назад
u can t do machine learning with Bps only (unless you go full math). That s a very, very cool video. I wish UE had python support.
@badrequest5596
@badrequest5596 3 года назад
u can write the neural network into c++ as ue4 classes. that will take some time though. i did that from a c# neural network i had for unity and re-wrote it into c++
@MrMoonwalkingBear
@MrMoonwalkingBear 4 года назад
I liked the song and also want a tutorial please.
@LuukAsh
@LuukAsh 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aC6S_VuRNGk.html
@mikethegamedev
@mikethegamedev 4 года назад
@@LuukAsh it's tutorial not music!
@xianweiwu1843
@xianweiwu1843 Год назад
Wanna know what activation functions you are using lol
@maddiehad
@maddiehad Год назад
it appears to be memorising the track but not really how to drive.
@boquangdong
@boquangdong 3 года назад
Canh you show me your code
@DarkRodFR
@DarkRodFR Год назад
share project for learn please :(
@mp3ha
@mp3ha 3 года назад
hi very good can make video tutorial for this video thx
@NOTORIOUS4545
@NOTORIOUS4545 2 года назад
But will it drift?? …
@bernardosardinha
@bernardosardinha 3 года назад
Cool! But...What´s going with the music? O.o
@xianweiwu1843
@xianweiwu1843 Год назад
neural networks lol
@mb.3d671
@mb.3d671 2 года назад
How would you even start this lol
@NR_5tudio
@NR_5tudio 3 месяца назад
BRUH try to make a simple tutorial ....
Далее
[Updated] Basic Car AI Part 1 | Unreal Engine
25:46
Просмотров 14 тыс.
AI Learns to Play Super Mario Bros!
9:04
Просмотров 335 тыс.
AI Learns to Drive an F1 Car
5:54
Просмотров 11 тыс.
Training an unbeatable AI in Trackmania
20:41
Просмотров 13 млн
AI Learns to Play Tag (and breaks the game)
10:29
Просмотров 2,1 млн
Transformer Neural Networks Derived from Scratch
18:08
Просмотров 128 тыс.
Unreal Engine NPC Car Tutorial
5:20
Просмотров 28 тыс.
899$ vs 360$ which one will you choose ? #iphone #poco
0:18
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,3 млн
Acer Predator Тараканьи Бега!
1:00
Просмотров 314 тыс.