Тёмный

AI Cars Learn To Drive! 

John Sorrentino
Подписаться 2,9 тыс.
Просмотров 13 тыс.
50% 1

In this video, I train cars to drive around a racetrack with neural networks made in unity and learn using genetic evolution. The neural network script is available and I will be making a tutorial to teach people how to make the script themselves.
Link to Neural Network Script:
github.com/john-sorrentino/Ne...
Chapters:
00:00 - Intro
00:15 - Getting car
00:30 - Making the racetrack
02:01 - Neural Network Breakdown
03:09 - Giving the network control of the car
03:31 - Network Inputs
04:33 - Training

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

 

2 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@JohnnyCodes
@JohnnyCodes Год назад
I started a Neural Network Tutorial series to show how I made the neural network used in this video! Here is a link to part 1: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JXGogdI7RIE.html
@drunemeton
@drunemeton 2 года назад
Absolutely fascinating video! But I’m left wondering what happens if you take the winning car and place it on a different track. Or the same track but in the opposite direction. Basically does it know how to drive, or does it know how to effectively not hit stuff on that one track?
@Mazzphysics
@Mazzphysics 2 года назад
Agree with this sentiment. Feels like this might have been more of a situation where they are overtrained on the data.
@aiforge8866
@aiforge8866 2 года назад
Yeh, I agree. As long as the network was big enough, it'd probably be somewhat easy to train it on new tracks for it to become more robust
@gagoono
@gagoono 2 года назад
I wonder how the fully trained ones would perform if you changes the map.
@Winsomnia
@Winsomnia 2 года назад
this and your other Neural network video is sick! trying to do something like this myself, so looking forward to the Unity implementation tutorial.
@thomasmarsden1870
@thomasmarsden1870 2 года назад
SUPER COOL!! massive fan of neural networks and the math behind them. what would’ve been great is if you introduced the cars to a new map to see if they were generalised and not just remembering the course!!
@thomasmarsden1870
@thomasmarsden1870 2 года назад
ayo i was 69th view too nice👌
@michelveraliot
@michelveraliot 2 года назад
Yeah that would be awesome see if they really learn from theirs mistake
@KILMARTA
@KILMARTA 2 года назад
Great video, more like this and this channel will grow big. Keep it up
@quasicode6954
@quasicode6954 2 года назад
I thought this was a channel with a couple hundred thousand subs for a second. Surprised you don't have more.
@carllowther1460
@carllowther1460 2 года назад
This is what I have been looking for!! Thank you so much
@kumarmanchoju1129
@kumarmanchoju1129 2 года назад
Include collision and damage, we are set for a race!
@avivyoutube6683
@avivyoutube6683 2 года назад
Super under rated channel !! keep up the good work and don't forget - consistency is key !
@JohnnyCodes
@JohnnyCodes 2 года назад
Thank you! Will do! Still got to work on that consistency thing
@Keyno77
@Keyno77 2 года назад
850th sub over here 🙋🏻‍♂️ so many hundreds of thousands to come
@RealChristopherRobin
@RealChristopherRobin 2 года назад
Would've loved to see a code review, if you can make a second part, it would be awesome.
@JohnnyCodes
@JohnnyCodes Год назад
It has been a while but I just started a new series for the neural network tutorial! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JXGogdI7RIE.html
@RealChristopherRobin
@RealChristopherRobin Год назад
@@JohnnyCodes Oh my goodness! Thank you so much!
@eftuproductions3613
@eftuproductions3613 2 года назад
This was very informative and an awesome video, thank you!
@JohnnyCodes
@JohnnyCodes 2 года назад
Glad you enjoyed it!
@danohaver912
@danohaver912 2 года назад
Wow, they figured out the "line".
@michelveraliot
@michelveraliot 2 года назад
You're video is awsome I'm gonna subscribe and I'm really interested to see theses IA pushed to the limits like a race track without walls or barrier+ full speed and turn Also love the mathematical explanation
@azebramoomoo2727
@azebramoomoo2727 2 года назад
Cool video
@user-te5nh3li3f
@user-te5nh3li3f 2 года назад
you are awesome, continue like this
@maximood-tired
@maximood-tired 2 года назад
very nice!
@revimfadli4666
@revimfadli4666 2 года назад
5:14 love the Wirtual reference
@JohnnyCodes
@JohnnyCodes 2 года назад
I wan't sure if people would know it but I put it in there for me. His storytelling skills are insane. I watched so many of his videos without even playing the game
@revimfadli4666
@revimfadli4666 2 года назад
@@JohnnyCodes ah I see. Your attention to storytelling shows
@Kathayne636
@Kathayne636 2 года назад
Awesome video. Is there any way you would post up the project?
@VladimirPanteleev
@VladimirPanteleev 2 года назад
Using a genetic algorithm instead of backpropagation in a neural network seemed unusual, but it made for a great video and results in the end!
@dm3on
@dm3on 2 года назад
unusual because it is not main stream ? 🤣
@VladimirPanteleev
@VladimirPanteleev 2 года назад
No, because it doesn't work for bigger networks.
@dm3on
@dm3on 2 года назад
@@VladimirPanteleev but do you really need monolithic large networks ?
@VladimirPanteleev
@VladimirPanteleev 2 года назад
@@dm3on Yes, for many classes of problems.
@alansmithee419
@alansmithee419 Год назад
How do you use backpropagation for a system with no obvious direction of improvement? My current understanding of backpropagation only allows it to be applied to situations where you already know the best answer for each of the questions in a training set, so you know which direction the output needs to move in order to improve the network's performance - e.g. the network said 2, the correct answer was 3, so you need to increase the network's output, so you backpropagate through the system to determine how all the weights and biases need to change in order to make the output closer to three. But with driving, it is not always obvious what affect a change to the weights will have on the performance of the system, since you don't necessarily know beforehand whether driving straight or a small adjustment to the left is optimal in a given situation (or if you do there's probably not much point in training a neural network - just hard-code it). How do you resolve this issue?
@sonnykong1312
@sonnykong1312 Год назад
How do you use SplineMesh to create a track?
@tiktak132
@tiktak132 2 года назад
Is it possible to share the project?
@akotoy
@akotoy Год назад
did you make the ray cast pass through the checkpoint and only hit the walls or does it hit the check point?
@JohnnyCodes
@JohnnyCodes Год назад
Yeah in this video I did make the ray casts go through the checkpoint otherwise they would try to avoid the checkpoint thinking it’s a wall (unless you adjust the inputs so it know the difference between a wall ray and a checkpoint ray)
@akotoy
@akotoy Год назад
@@JohnnyCodes okay thanks !
@abhinaykatta
@abhinaykatta 2 года назад
957th subscriber
@The_ATF_
@The_ATF_ Год назад
I get that I’m probably an idiot but how the fuck do you reward a computer
Далее
AI Cars Learn to Jump using Natural Selection!
2:41
Просмотров 1,7 тыс.
Evolution Simulator with Neural Networks in Unity!
8:03
AI Learns to Drive a Car! (ML-Agents in Unity)
13:13
Просмотров 72 тыс.
AI Learns to Drive an F1 Car
5:54
Просмотров 11 тыс.
Transformer Neural Networks Derived from Scratch
18:08
Просмотров 127 тыс.
I Made a Neural Network with just Redstone!
17:23
Просмотров 686 тыс.
A.I. Learns To Drive
5:32
Просмотров 2,6 тыс.
ML-Agents 1.0+ Creating a Mario Kart like AI
16:32
Просмотров 36 тыс.
How I would learn to code (if I could start over)
6:54