Тёмный

Self-Driving AI Car Simulation in Python 

NeuralNine
Подписаться 366 тыс.
Просмотров 159 тыс.
50% 1

In this video we simulate self-driving AI cars in Python. These cars learn driving using NEAT, which is a reinforcement learning technique.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: www.neuralnine...
🐍 The Python Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
💻 Exclusive Content 💻
👥 Patreon: / neuralnine
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🎵 Outro Music From: www.bensound.com/

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

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 136   
@NeuralNine
@NeuralNine 3 года назад
It is important that you install the module neat-python and not neat if you want this to work on your machine!
@culiynl
@culiynl 3 года назад
This is a NEAT program
@RandomGuy-df1oy
@RandomGuy-df1oy 3 года назад
How do you catch if a car crashes?
@Emmanuel-is7gm
@Emmanuel-is7gm 8 месяцев назад
Does your book cover this kind of videos?
@amberniesalting9011
@amberniesalting9011 3 года назад
as a beginner in python these kind of things is the one I want to be able to do
@NeuralNine
@NeuralNine 3 года назад
understandable! Just stick to it ^^
@joshcooke4201
@joshcooke4201 3 года назад
@@NeuralNine Can you do a neat-python tutorial please?
@cadowyn735
@cadowyn735 3 года назад
Work on problem solving and logic first. Learn how to break down the problem and the fundamentals of programming. Then extract that knowledge out to whatever you want to pursue.
@v-rdays7525
@v-rdays7525 3 года назад
Where i can learn python for free? I really want to learn python
@cadowyn735
@cadowyn735 3 года назад
@@v-rdays7525 This guy’s videos and Codecademy. But you should learn how to solve problems and think like a programmer before worrying about a specific language.
@PlexAlanche
@PlexAlanche 3 года назад
cant wait for ya to soar above where you belong, you really do the hardwork
@NeuralNine
@NeuralNine 3 года назад
thanks brother ^^
@jlou888
@jlou888 2 года назад
It would have been interesting to see how cars trained on one track can do on another, basically, how your model generalises. Otherwise, this is an exercise in overfitting.
@impranave7776
@impranave7776 Месяц назад
I did an autonomous driving car project with the simplest trach but failed miserably . This idea of NEAT was very new to me and it is just very interesting . great video 👍🏿.
@kulrajchavda9538
@kulrajchavda9538 3 года назад
You're absolutely legend, you are future big channel
@NeuralNine
@NeuralNine 3 года назад
thanks brother ^^
@flashbao1922
@flashbao1922 3 года назад
Glad, I didnt bunk my Soft Computing Classes and I literally understood this video in the first time!
@chriss3154
@chriss3154 3 года назад
When an AI video almost sounds like a interesting scary story too! More!
@bassemgouty9840
@bassemgouty9840 3 года назад
you videos are just top quality tbh , always amazed by your work . Keep it up and i hope you make it big !
@NeuralNine
@NeuralNine 3 года назад
thanks for your words brother :)
@neillunavat
@neillunavat 3 года назад
Idk why people dislike this... Like... This is gold mahn. Gold
@thomasgoodwin2648
@thomasgoodwin2648 3 года назад
I noticed that all of your examples were trained from scratch up on each track. Doesn't this lead to overfitting the bot to the track? In other words, shouldn't a network that generalizes well be able to go from track to track with no further training required? Would training go any faster if you used bot models from the previous tests as the starting point for more complex tracks? Great channel btw. Hard to find really good tutorials at this level, and your's are definitely among the best. You do tend to skip some details for the sake of brevity at times though, and I would love to get more detailed insight, even at the expense of longer videos. It's all about the content Baby! Keep it coming! I love it! ❤️❤️❤️
@philskz
@philskz 3 года назад
This is such a cool programm! I downloaded it and tried it out and it worked perfectly good work!
@hello-my6ot
@hello-my6ot 3 года назад
This is so impressive, you got my sub
@NeuralNine
@NeuralNine 3 года назад
thanks ^^
@achiyederi3622
@achiyederi3622 3 года назад
can you do a full depth tutorial?
@flashbao1922
@flashbao1922 3 года назад
The Intro is cool!
@ryanc.6613
@ryanc.6613 3 года назад
your channel is about to blow up bro
@NeuralNine
@NeuralNine 3 года назад
I hope so brother :D
@gamesucht2097
@gamesucht2097 8 месяцев назад
i think i have to say thanks for your videos. i did now understand how AIs do their training
@neshamlani3264
@neshamlani3264 2 месяца назад
Okay thats a great implementation and a great video, I only have 1 question, does this AI model remember the previous learning, like we trained it on a hard map, and the generation learned to navigate and completed the map, now the generate which was able to complete the map, can it run a single car through other maps, without training for that particular map?
@wullie1111
@wullie1111 3 года назад
neural networks are grate. there are so many implementations as well if it wasn't for there creation google's voice, amazon's alexa, apple's siri would not exist
@Rhaqim
@Rhaqim 3 года назад
I love this video, I’m a Junior Data Scientist but studying this would help me with self driving drones.
@AdamEarleArtist
@AdamEarleArtist 2 года назад
i would love to see this run with some freactal noise on the edges of the track and taking up the parts of the track
@rayoh2011
@rayoh2011 3 года назад
An eye-opener, thank you!
@saadahmed2970
@saadahmed2970 3 года назад
Your channel is fabulous.
@NeuralNine
@NeuralNine 3 года назад
thank you ^^
@johnatasrabelo7088
@johnatasrabelo7088 3 года назад
Best Ones from RU-vid , thanks a lot !!
@null3000
@null3000 3 года назад
Please make more NEAT tutorials!
3 года назад
Great strategy to build the maps :)
@marshallhickey3746
@marshallhickey3746 3 года назад
I have an idea for a future idea you can use selenium to import webdriver open one of your videos and make it reload every 30 secs meaning you can get free views
@ddbqu
@ddbqu Месяц назад
Sorry, can you do a full depth tutorial? I really don‘t know how to do…
@thomaskaridis2127
@thomaskaridis2127 3 года назад
Great video, if you could do an explanation on the code someday that would be great because i'm having some trouble when its running (new in python)
@fp-mirzariyasatali1985
@fp-mirzariyasatali1985 3 года назад
Can i get those Slides???? You use to convey your Point of view
@jayparmar7603
@jayparmar7603 3 года назад
One node joined your Neural Network
@ishaandugar7896
@ishaandugar7896 3 года назад
Make a series on this pleaseeee!!
@BugsNRoses_
@BugsNRoses_ 3 года назад
I really wanted to learn advanced machine learning, but didn't find any tutorials, which has the way you describe ❤️, thank you so much, a fan, no a hugeeee fan of yours
@justvolt
@justvolt 3 года назад
this is quite a neat tutorial
@rachitjasoria9041
@rachitjasoria9041 3 года назад
its working vey well!!! but how to resize it?? i changed WIDTH and HEIGHT here: screen = pygame.display.set_mode((WIDTH, HEIGHT), pygame.FULLSCREEN) but then it doesnt work...
@1nd0Aryan
@1nd0Aryan Год назад
same problem here. did you find a solution?
@muyzaf
@muyzaf Год назад
same problem here as well
@CarlosMoreno-hu2me
@CarlosMoreno-hu2me 3 года назад
Interesting. Thank you. Wondering if there is a way to save the learnt model and restart from the last training, without restarting from scratch?
@hakancetinkaya8866
@hakancetinkaya8866 3 года назад
I am trying to watch ads but someone disturbing me with forcing couple cars to finish his path
@Gazzar19
@Gazzar19 2 года назад
I build a similar thing, also modifying / mutating the weights of the best agent. What would be the reinforcement way to improve the network with backprop?
@robss9363
@robss9363 3 года назад
yo, man, that's huge..
@kaihan5962
@kaihan5962 3 года назад
Hope to see the tutorials
@nikolavasic1947
@nikolavasic1947 3 года назад
You have awesome content
@NeuralNine
@NeuralNine 3 года назад
appreciate it brother :)
@__3093
@__3093 3 года назад
new intro let's gooooo
@yenumulavinuthna8083
@yenumulavinuthna8083 5 месяцев назад
May i know which environment you have used?
@bloodrubbish1667
@bloodrubbish1667 4 месяца назад
Amazing vid!
@thewhat4228
@thewhat4228 3 года назад
Can we get the code for the self replicating virus in python? Why is the video down I can't find it please help
@dynoagency1323
@dynoagency1323 3 года назад
I love your contents, can u make a chess game with a chess bot?
@Jiyakathuria
@Jiyakathuria Месяц назад
please provide in depth tutorial.
@g.s.3389
@g.s.3389 3 года назад
very interesting, as far I understand from the code, the speed of the car is a constant it doesn't change during the circuit. is it right?
@erictovbin4200
@erictovbin4200 3 года назад
Könntest du vielleicht eine Tensorflow-Serie starten? :)
@colgrolool1668
@colgrolool1668 3 года назад
Solltest vielleicht auf Englisch schreiben, denke nicht dass er dich versteht lol
@NeuralNine
@NeuralNine 3 года назад
@@colgrolool1668 ich denke schon ^^
@colgrolool1668
@colgrolool1668 3 года назад
@@NeuralNine :O
@shulymang
@shulymang 3 года назад
its amazing video! thanks a lot
@mangohar5642
@mangohar5642 3 года назад
Hello. I'm trying to work on this project myself, and I'm at the stage of enabling the car to move in various directions. However, when I rotate the car using pygame by an angle that is not a multiple of 90 degrees, the shape of the car sprite changes and it doesn't stay in the same position. Do you know how I can rotate the car sprite without moving it?
@tomas5970
@tomas5970 3 года назад
pretty NEAT video
@ahmetfarukbahat8334
@ahmetfarukbahat8334 3 года назад
Your videos are very good, I expect you to add source code
@os_.mos_.m9346
@os_.mos_.m9346 3 года назад
What is the name of the song you are using in the intro?
@Lualt
@Lualt 3 года назад
next vid coding a universe with self aware life
@lucky4the4turtle
@lucky4the4turtle 3 года назад
Is lex named after lex fridman?
@srishrachamalla9607
@srishrachamalla9607 Год назад
Will it uses it knowledge to the new maps? Or it should learn on the new map..
@shinymp7691
@shinymp7691 3 года назад
Hey, can you make tutorial video on this project. Pls
@MukeshDesiBhae
@MukeshDesiBhae 7 дней назад
Good Showcase, please share the code
@clamisland331
@clamisland331 3 года назад
Wo this is awesome!!
@softwhere07
@softwhere07 6 месяцев назад
From 2:50 to 3:35 it seems to talk about my origins. Lol.
@guilherme5094
@guilherme5094 3 года назад
Very good!
@dungduong89
@dungduong89 3 года назад
thank you so much
@Serenelove520
@Serenelove520 2 года назад
You are awesome. Can I ask you to work on a project?
@prajyotmane9067
@prajyotmane9067 Год назад
Can this model perform with same accuracy on maps it was not trained on ?
@aurorusidk
@aurorusidk 3 года назад
great video but i kinda miss seeing your face
@NeuralNine
@NeuralNine 3 года назад
Hahahaha it will be there again in the next video :D
@vijayrahulsivapu9523
@vijayrahulsivapu9523 Год назад
Hello, I need your help. I have installed all the necessary modules, but the problem is that the pygame window is not adjusting to my system display. I have tried several ways and I am able to toggle horizontally, but the vertical view is not complete. The horizontal view is also not adjusting but I can see completely when I move the pygame window.
@yenumulavinuthna8083
@yenumulavinuthna8083 5 месяцев назад
Hey...even I am facing the same issue...how you solved it
@VinnieDreher
@VinnieDreher 2 года назад
Do you think is possible import the track using a STL?
@ericstardust1
@ericstardust1 3 года назад
Cool, Thx
@amberniesalting9011
@amberniesalting9011 3 года назад
amazing
@NeuralNine
@NeuralNine 3 года назад
:)
@andreaspiening5424
@andreaspiening5424 2 года назад
Thank you very much! This one is very interesting. Please can you tell if, and if so where the learned data is persisted? I've started with map1.png again and in generation 1 I had one car passing the full course which is not possible without some knowledge / learnings I guess. I would like to control the neural network and "reset" it for my experiments.
@avadhutpatil6755
@avadhutpatil6755 2 года назад
Hi I am unable to run this code, could you please help me with this ??
@bbgoesblop
@bbgoesblop 4 месяца назад
Hello, i want to change maps, but i dont want to reset my progress, how?
@Abdelrhman_karam
@Abdelrhman_karam 3 месяца назад
save the weights of the model and reuse them
@bbgoesblop
@bbgoesblop 3 месяца назад
@@Abdelrhman_karam how
@rverm1000
@rverm1000 Год назад
im having trouble with the screen the race track is way bigger than the screen. cant move it or adjust it in any way. Got any suggestions?
@muyzaf
@muyzaf Год назад
same, i need help as well
@amiralirezaei2108
@amiralirezaei2108 3 года назад
Can you make a course for ML?
@alexanderwilluweit6689
@alexanderwilluweit6689 3 года назад
I got an error: config = neat.config.Config(neat.DefaultGenome, module 'neat' has no attribute 'config' any ideas? thx
@alexanderwilluweit6689
@alexanderwilluweit6689 3 года назад
Got it sorry - my fault. Did not installed neat in the correct way.
@kooshasangari2555
@kooshasangari2555 2 года назад
⭐ Perfect! ⭐
@marshallhickey3746
@marshallhickey3746 3 года назад
I have downloaded this but when I try to run it, it says neat has no attribute to config in line 248
@NeuralNine
@NeuralNine 3 года назад
you need to install neat-python and not neat ^^
@vanshkumar3445
@vanshkumar3445 Год назад
ai is best technology self driving car ai games vice city gta 5,ai drones,
@joenelespejo4082
@joenelespejo4082 3 года назад
Where to run it? What IDE? Beginner in python. 🙏
@philtoa334
@philtoa334 2 года назад
Thx_Very_Nice.
@redamo1248
@redamo1248 3 года назад
1st comment love ur vids
@NeuralNine
@NeuralNine 3 года назад
thank you ^^
@chetansai1478
@chetansai1478 3 года назад
sir how to run a simulation after downloading the file
@AidenEllis
@AidenEllis 3 года назад
*So you wanna be a software engineer at Google?*
@nawid1687
@nawid1687 3 года назад
It kinda sucks that you removed the subdomain video
@NeuralNine
@NeuralNine 3 года назад
Had to. It is on Patreon though.
@flaksick
@flaksick 2 года назад
It doesn’t properly fit my screen
@SagarKumar-fx4ew
@SagarKumar-fx4ew 3 года назад
op 👌👌👌
@fabrizioantonazzo3113
@fabrizioantonazzo3113 2 года назад
bene , maa non avete commentato il listato di python grazie
@daveraccliff6422
@daveraccliff6422 3 года назад
plz make a tutorial on this
@darksnaper
@darksnaper Год назад
Привет из России, ты лучший!
@b07x
@b07x 3 года назад
New version of Tesla...
@NeuralNine
@NeuralNine 3 года назад
2D Tesla :D
@bilelsaghrouchni977
@bilelsaghrouchni977 3 года назад
tuto pls :)
@volcano3864
@volcano3864 2 года назад
i want a tutorial
@DogoOrtodoxo
@DogoOrtodoxo 7 месяцев назад
Man... watching this i notice this is not how humans learns to drive well, it would be nicier if the module take a turn mapping the road, and then calculate the best velocity to each part, instead of looking for what is 5 meters ahead.
@hencexperfect
@hencexperfect 3 года назад
CoollLLLLllLlLl
@georgialeksiev8056
@georgialeksiev8056 3 года назад
early
@NeuralNine
@NeuralNine 3 года назад
awesome :)
@princekrampah3313
@princekrampah3313 3 года назад
First one
@NeuralNine
@NeuralNine 3 года назад
:)
@antalervin19-
@antalervin19- 11 месяцев назад
Hey! Can we have a talk in Discord Or Email?
@anonfourtyfive
@anonfourtyfive Год назад
Short... Neet. LMFAO"
Далее
Training an unbeatable AI in Trackmania
20:41
Просмотров 13 млн
Building the FASTEST Self Driving RC Car
16:01
Просмотров 650 тыс.
ПРОСТИ МЕНЯ, АСХАБ ТАМАЕВ
32:44
Просмотров 2,2 млн
Fixing Plastic with Staples
00:18
Просмотров 1,3 млн
БЕЛКА РОЖАЕТ?#cat
00:22
Просмотров 277 тыс.
Will A Guitar Boat Hold My Weight?
00:20
Просмотров 40 млн
Simulating Real-Life Processes in Python
17:54
Просмотров 76 тыс.
Watching Neural Networks Learn
25:28
Просмотров 1,3 млн
Reinforcement Learning from scratch
8:25
Просмотров 57 тыс.
I Made a Self Driving FPV RC Car
7:55
Просмотров 314 тыс.
Building a Self-Driving Go Kart
13:46
Просмотров 263 тыс.
Teaching myself C so I can build a particle simulation
11:52
AI Learns to Walk (deep reinforcement learning)
8:40
A.I. Learns to Drive From Scratch in Trackmania
16:51
I Built a Neural Network from Scratch
9:15
Просмотров 275 тыс.
ПРОСТИ МЕНЯ, АСХАБ ТАМАЕВ
32:44
Просмотров 2,2 млн