AI Learns to Drive an F1 Car

preview_player
Показать описание
My first video on YouTube taught an AI to destroy the game Stack's world record. After about 3 years, I wanted to create an AI which would successfully learn to drive. I would accomplish this using Neural Networks and a genetic algorithm.

Machine learning is a topic I've always been very interested in. Seeing how it can be applied to games is especially interesting. These networks can be used to teach game AI for varying difficulties.

To make it interesting I decided to use Formula 1 cars.

Make sure you subscribe!

McLaren Formula 1 3D Model (Excalibur):

● Watch my other videos
📹 Remaking Trouble In Terrorist Town | Indie Game Devlog #0 (Skrelo)
--------------------------------------------------------------
📹 Making my First Mobile Game in ONE Day (Skrelo)
--------------------------------------------------------------
📹 5 Years Of Learning Game Development (Skrelo)
--------------------------------------------------------------
📹 How I Made Minecraft In 1 Week Using Unreal Engine 5 (Skrelo)
--------------------------------------------------------------

● Music
♪ Starter [8 bit Dub]
--------------------------------------------------------------
♪ Chill Lofi Inspired (omfgdude)
--------------------------------------------------------------
--------------------------------------------------------------

#gamedev #unrealengine #machinelearning #geneticalgorithm #neuralnetwork #ue4 #ue5
Рекомендации по теме
Комментарии
Автор

i dont really see why your videos arent blowing up more. you have great audio and narration as well as interesting video ideas and good explanations. youtube algorithm slacking ong

miencyfratgyueev
Автор

since the premade track has curbs on boths sides in all its lenght, you might avoid the boring process of setting up walls by flagging cars running on curbs or surpassing them. I don't know UE but it's probably doable giving cars a collider underneath and checking for collisions with curbs. The collider can be smaller than tires width so they don't flag until the curb is fully overstepped

MrPaPaYa
Автор

"...computer sounded like it was going to war..." that's beautiful

meow
Автор

This is wild and easily one of the most interesting explanations of so much I’ve been curious about.

midwestentertainment
Автор

Great Job Mate. I hope this video blews up too. I've started learning Python as my starting language thanks to your support. Also I'm excited for the game's development. Oh yeah it's 00:24 AM so I'm gonna sleep now. Saw your video notification so I came running (lies I took few minutes T-T). Anyways good luck for future project and videos.

omkar
Автор

Awesome 👏 now I can finally watch my Honda Accord 2004 beat a Ferrari in a race, jokes aside, this must have been a lot of work including making and editing this video! Thank you ✨😃

bobross
Автор

Any chance for a tutorial on this? This is amazing!!! 🤩👍

raccoon_
Автор

can you do a full tutorial on how to make this pls pls pls

Unity_and_Peace
Автор

What ML tools did you use for this? Is it something anyone can use? Unity has ML-Agents for example.

JamesPound
Автор

I'm doing something very similar, how did you make the line tracers stop when they hit the wall? For me they continue through as the color green and fill up the screen

Bub
Автор

I would love to see the ai getting seriously quick

remilacroix
Автор

hi, i am implementing such a thing. I got stuck in passing line data to the genetic algorithm. Could you give me some advice?

Leo-ifty
Автор

Hi Skrelo! I was just wondering, what does your fitness score look like? I programmed my own NN with Genetic Algorithm, and the AI does learn, however, it doesn't seem to try and slow down, or react to the walls near the car. My fitness score at the moment is just distance travelled along the track. Thank you in advance!

hanshauser
Автор

Maybe you could use random spawn points along the track to improve performance?

allanbru
Автор

Using tensor flow ? How did I go from c++ to python ?

yannmassard
Автор

PLEASE TELL ME THERE IS A TUTORIAL WERE IT IS SHOWED HOW TO MAKE THIS?

Gamer-Artyom
Автор

BRUH pls make a tutorial about neural network

NR_tudio
Автор

Its an amazing video, can you do a video tutorial code to build this ai?

liamlife
Автор

it didn't even learn or follow a proper racing

Rabbit