Self-Driving AI Car Simulation in Python
Вставка
- Опубліковано 6 вер 2024
- 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/
It is important that you install the module neat-python and not neat if you want this to work on your machine!
This is a NEAT program
How do you catch if a car crashes?
Does your book cover this kind of videos?
as a beginner in python these kind of things is the one I want to be able to do
understandable! Just stick to it ^^
@@NeuralNine Can you do a neat-python tutorial please?
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.
Where i can learn python for free?
I really want to learn python
@@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.
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.
You're absolutely legend, you are future big channel
thanks brother ^^
cant wait for ya to soar above where you belong, you really do the hardwork
thanks brother ^^
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 👍🏿.
When an AI video almost sounds like a interesting scary story too! More!
you videos are just top quality tbh , always amazed by your work . Keep it up and i hope you make it big !
thanks for your words brother :)
Glad, I didnt bunk my Soft Computing Classes and I literally understood this video in the first time!
can you do a full depth tutorial?
This is such a cool programm! I downloaded it and tried it out and it worked perfectly good work!
The Intro is cool!
This is so impressive, you got my sub
thanks ^^
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! ❤️❤️❤️
Idk why people dislike this... Like... This is gold mahn. Gold
Best Ones from UA-cam , thanks a lot !!
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?
Please make more NEAT tutorials!
i think i have to say thanks for your videos. i did now understand how AIs do their training
Your channel is fabulous.
thank you ^^
An eye-opener, thank you!
your channel is about to blow up bro
I hope so brother :D
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)
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...
same problem here. did you find a solution?
same problem here as well
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
I love this video, I’m a Junior Data Scientist but studying this would help me with self driving drones.
Great strategy to build the maps :)
Interesting. Thank you. Wondering if there is a way to save the learnt model and restart from the last training, without restarting from scratch?
Amazing vid!
Sorry, can you do a full depth tutorial? I really don‘t know how to do…
Can i get those Slides???? You use to convey your Point of view
I am trying to watch ads but someone disturbing me with forcing couple cars to finish his path
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
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?
Make a series on this pleaseeee!!
Is lex named after lex fridman?
May i know which environment you have used?
What is the name of the song you are using in the intro?
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?
Wo this is awesome!!
this is quite a neat tutorial
You have awesome content
appreciate it brother :)
its amazing video! thanks a lot
Can we get the code for the self replicating virus in python?
Why is the video down
I can't find it please help
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?
new intro let's gooooo
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
Very good!
Hope to see the tutorials
One node joined your Neural Network
pretty NEAT video
please provide in depth tutorial.
Will it uses it knowledge to the new maps? Or it should learn on the new map..
thank you so much
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
yo, man, that's huge..
I love your contents, can u make a chess game with a chess bot?
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.
Hey...even I am facing the same issue...how you solved it
Cool, Thx
Can this model perform with same accuracy on maps it was not trained on ?
From 2:50 to 3:35 it seems to talk about my origins. Lol.
Könntest du vielleicht eine Tensorflow-Serie starten? :)
Solltest vielleicht auf Englisch schreiben, denke nicht dass er dich versteht lol
@@colgrolool1668 ich denke schon ^^
@@NeuralNine :O
⭐ Perfect! ⭐
Do you think is possible import the track using a STL?
Your videos are very good, I expect you to add source code
Good Showcase, please share the code
amazing
:)
1st comment love ur vids
thank you ^^
Hey, can you make tutorial video on this project. Pls
Hello, i want to change maps, but i dont want to reset my progress, how?
save the weights of the model and reuse them
@@Abdelrhman_karam how
You are awesome. Can I ask you to work on a project?
Hi I am unable to run this code, could you please help me with this ??
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?
same, i need help as well
I have downloaded this but when I try to run it, it says neat has no attribute to config in line 248
you need to install neat-python and not neat ^^
next vid coding a universe with self aware life
I got an error:
config = neat.config.Config(neat.DefaultGenome,
module 'neat' has no attribute 'config'
any ideas?
thx
Got it sorry - my fault. Did not installed neat in the correct way.
It kinda sucks that you removed the subdomain video
Had to. It is on Patreon though.
Thx_Very_Nice.
Can you make a course for ML?
great video but i kinda miss seeing your face
Hahahaha it will be there again in the next video :D
It doesn’t properly fit my screen
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.
sir how to run a simulation after downloading the file
Where to run it? What IDE? Beginner in python. 🙏
bene , maa non avete commentato il listato di python grazie
op 👌👌👌
*So you wanna be a software engineer at Google?*
ai is best technology self driving car ai games vice city gta 5,ai drones,
Привет из России, ты лучший!
plz make a tutorial on this
i want a tutorial
New version of Tesla...
2D Tesla :D
tuto pls :)
CoollLLLLllLlLl
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.
early
awesome :)
First one
:)
Hey!
Can we have a talk in Discord Or Email?
Short... Neet.
LMFAO"