Self-Driving AI Car Simulation in Python
HTML-код
- Опубликовано: 17 фев 2021
- 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.com/books/
🐍 The Python Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💻 Exclusive Content 💻
👥 Patreon: / neuralnine
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎵 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.
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 :)
This is such a cool programm! I downloaded it and tried it out and it worked perfectly good work!
An eye-opener, thank you!
The Intro is cool!
This is so impressive, you got my sub
thanks ^^
Glad, I didnt bunk my Soft Computing Classes and I literally understood this video in the first time!
i think i have to say thanks for your videos. i did now understand how AIs do their training
cant wait for ya to soar above where you belong, you really do the hardwork
thanks brother ^^
You're absolutely legend, you are future big channel
thanks brother ^^
When an AI video almost sounds like a interesting scary story too! More!
Idk why people dislike this... Like... This is gold mahn. Gold
Great strategy to build the maps :)
Best Ones from RUclips , thanks a lot !!
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.
Amazing vid!
this is quite a neat tutorial
your channel is about to blow up bro
I hope so brother :D
Wo this is awesome!!
Your channel is fabulous.
thank you ^^
its amazing video! thanks a lot
Very good!
pretty NEAT video
new intro let's gooooo
I love this video, I’m a Junior Data Scientist but studying this would help me with self driving drones.
Make a series on this pleaseeee!!
Cool, Thx
You have awesome content
appreciate it brother :)
can you do a full depth tutorial?
thank you so much
⭐ Perfect! ⭐
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
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
One node joined your Neural Network
yo, man, that's huge..
Hope to see the tutorials
Please make more NEAT tutorials!
amazing
:)
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)
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! ❤️❤️❤️
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
Interesting. Thank you. Wondering if there is a way to save the learnt model and restart from the last training, without restarting from scratch?
next vid coding a universe with self aware life
Thx_Very_Nice.
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?
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?
Your videos are very good, I expect you to add source code
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
op 👌👌👌
Can i get those Slides???? You use to convey your Point of view
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?
I love your contents, can u make a chess game with a chess bot?
I am trying to watch ads but someone disturbing me with forcing couple cars to finish his path
You are awesome. Can I ask you to work on a project?
What is the name of the song you are using in the intro?
Will it uses it knowledge to the new maps? Or it should learn on the new map..
Can you make a course for ML?
May i know which environment you have used?
Hey, can you make tutorial video on this project. Pls
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.
Is lex named after lex fridman?
Can this model perform with same accuracy on maps it was not trained on ?
Do you think is possible import the track using a STL?
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
Can we get the code for the self replicating virus in python?
Why is the video down
I can't find it please help
From 2:50 to 3:35 it seems to talk about my origins. Lol.
Where to run it? What IDE? Beginner in python. 🙏
sir how to run a simulation after downloading the file
*So you wanna be a software engineer at Google?*
plz make a tutorial on this
Hi I am unable to run this code, could you please help me with this ??
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
great video but i kinda miss seeing your face
Hahahaha it will be there again in the next video :D
It kinda sucks that you removed the subdomain video
Had to. It is on Patreon though.
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
bene , maa non avete commentato il listato di python grazie
1st comment love ur vids
thank you ^^
It doesn’t properly fit my screen
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 ^^
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
Привет из России, ты лучший!
ai is best technology self driving car ai games vice city gta 5,ai drones,
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.
i want a tutorial
New version of Tesla...
2D Tesla :D
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
CoollLLLLllLlLl
tuto pls :)
early
awesome :)
First one
:)
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.
Hey!
Can we have a talk in Discord Or Email?
Short... Neet.
LMFAO"