15:57 I love how the AI thinks the GTA map is a bicycle xD
@TechJockeyHD7 жыл бұрын
HOLY!!!!!!!!!!!!!! YOU COME A LONG WAY BUDDDD!!! I congrate you for all this... amazing. I came across this channel after 2 years and so much has happened... awesome!!!
@alexk47097 жыл бұрын
horse 55%
@DarkRedman315 жыл бұрын
Also bird 57% xD
@RoGeorgeRoGeorge7 жыл бұрын
Previous: Teach the AI how to drive. Done. Now: Teaching it how to steal. Done. Next video: Teach it politics. :o)
@sentdex7 жыл бұрын
Working on speech ATM. Chatbots are harder than I thought.
@CariagaXIII7 жыл бұрын
next time say "I'll be back" at the end of the video
@Max2000126 жыл бұрын
Next time?
@dashxinteractive89466 жыл бұрын
Next time? xD Please come back!
@shoebmoin106 жыл бұрын
"sorry man, its for science" 😂
@arielgamboavazquez42506 жыл бұрын
16:07 this is the purest display of joy I have seen by far
@onefulltimeequivalent12307 жыл бұрын
13:46 nooo, you still have to save 14:31 oh...
@mlwseeker19897 жыл бұрын
You make a great tutorial series
@sentdex7 жыл бұрын
Thank you, great to hear!
@nsbhargava51747 жыл бұрын
you gave me just what I wanted to learn- gaming plus machine learning. Thank you mate,
@Brutaltronics7 жыл бұрын
you could read the region on the bottom right corner, if it's a speedometer that would mean you are in.
@sentdex7 жыл бұрын
I could, but I don't like that option. I would like to eventually throw Charles into online, where none of these mods exist. I need a non-mod way of knowing car/vs walking. I have some ideas, but nothing that is cheap to process.
@Max2000126 жыл бұрын
Why no episode in 6 months?
@Knaeckebrotsaege6 жыл бұрын
the livestream is completely gone too
@Casowsky6 жыл бұрын
Charles found him
@MoodiHariri7 жыл бұрын
I have no idea how you do this stuff but I enjoy every single one of those videos. Looking forward to finishing the begginers series and start some projects. Thanks to you for sharing your knowledge, you are awesome.
@Chris-ru7mj7 жыл бұрын
How did you learn to reach the level you are at now? Just seems incredible to me, across all your videos, what you're capable of doing!
@sentdex7 жыл бұрын
I just think of projects that I would like to do, and I do them. That's bout all there is to it. Lots of googling. I have no formal education in CS or anything related.
@shroomedup7 жыл бұрын
You rock man! Gave me some nifty ideas on approaches.
@weifengli36155 жыл бұрын
This might be a stupid question, but could you explain why is x_move / 0.5 there? (In determine movement function)
@x4iiiis7 жыл бұрын
Hey man. Just want you to know I'm going to cite the Python Plays GTA:V series in my Honours Project dissertation on neural network controllers! Should I refer to you as 'Sentdex' or something else? Thanks!
@sentdex7 жыл бұрын
"Sentdex" is fine, thank you for the cite :D
@x4iiiis7 жыл бұрын
sentdex awesome, thanks! :)
@TPiedog7 жыл бұрын
Umm I've been having trouble on on of your older videos: Game Development in Python 3 With PyGame - 2 - Display Images The issue I'm having is how my game is coming up only as a black screen and even the car isn't showing, I ran the path to get to the image in run and it pulled up the image, but the game still won't show it.
@Xana8U7 жыл бұрын
late for the party, been using freepie to simulate mouse, had problems, will probably try with this now. Few things to improve this: 1. include truck/bus/etc. 2. when making the turns towards car, add + width of the car object / 2 to get it to walk straight to it not at the closes edge of the detected object.
@MrGeneralPB7 жыл бұрын
sorry for asking but why didnt you chose a simpler and/or older game to run the ai in? didnt watch all the previous vids so sorry if you already answered it
@DarkRedman315 жыл бұрын
6:12 I don't exactly if at Python (high) level it matters, but when I see something like this value / 0.5 I'd rather do value * 2 I know at lower level like C(++)/ASM/hardware it's faster to do a multiplication than a division and if it matters in Python since you're program work is per-frame it mays be better in the long run
@vigneshs28867 жыл бұрын
17:48 It's a horse.... No.. It's a Bird.... No..... Holy Shit... it's a Terminator....!!!!!!!!
@sentdex7 жыл бұрын
... no wait, maybe it is a horse
@tarunchourasia58796 жыл бұрын
can you please tell me how to merge codes of lane detection, object detection and self driving car neural network all in single process
@boqu29837 жыл бұрын
still don't get why x_move and y_move have to be divided by 0.5...
@joraforever98997 жыл бұрын
watching your stream while you explain
@subhraneelmazumder90794 жыл бұрын
Which font is he using in IDLE?
@saketharamanujam6 жыл бұрын
can you help making an abandoned object detector using this TF Object Detection Api?
@finster1017 жыл бұрын
I'm enjoying this series. Thanks for making it! I apologize in advance for asking a question off topic but I was wondering would it be possible to do a click and drag operation with the keys.py?
@sentdex7 жыл бұрын
Yes. do a keys.mouse_lb_press , move the mouse, do a mouse_lb_release. You can see enough examples in the github.com/Sentdex/pygta5/blob/master/keys.py file to figure out how to do it.
@finster1017 жыл бұрын
Awesome! Thanks for the quick reply
@trungthanhgaming28574 жыл бұрын
Is screen at your back is trainning Need For Speed ?
@ponrajs53964 жыл бұрын
Hi kindly someone answer, for using GPU In ML it asked to install cuda for Nvidia, while the installation CUDA asked to uninstall graphics driver, if I uninstall graphics driver can I run games with CUDA ?
@iamdivyansh7 жыл бұрын
can anyone please tell me what minimum hardware configuration is required to do this project?? In my laptop I have intel core i7 5th gen 8gb ram 4gb AMD R7 M270 graphic card is this configuration enough to carry on this project??
@sentdex7 жыл бұрын
No that's not enough to run this.
@iamdivyansh7 жыл бұрын
sentdex if I run it at minimum graphics setting then will that be enough??
@iJeaxDOTcom7 жыл бұрын
Hey man I like your videos interesting to see how you think it through. Can I offer an idea to make your videos more appealing to the masses though. Can you test your code whilst making it, so the minor steps. I think it helps people understand what each few lines you write "do" since it will appeal to the "learn by doing" way some people learn stuff (so seeing that change is now making it track the cars more successfully etc). I think it will help break up the staring at the lines of code too and help it appeal to a wider audience :) (and I think it's why your first videos were so successful as it had more "showing it working" keep up the good work though brother.
@sentdex7 жыл бұрын
These videos aren't for the masses. They are for programmers. If you want to watch the AI live, 24/7, head to: www.twitch.tv/sentdex ... as for taking tings step by step, I have been doing just that, this project just simply has become much more complex than starting with a clean slate like the beginning did. The beginning was just plain much simpler: find some lines. Since then...things have gotten far more advanced.
@tarushsingh11086 жыл бұрын
Anyone getting the error of keys has no attribute directMouse. Can't figure out what is the issue.
@anony887 жыл бұрын
I wonder if you install a graphics mod, it recognizes objects better. GTA 5's original graphics has this hazy effect, but stuff like visual v or naturalvision remastered looks a lot more realistic.
@sentdex7 жыл бұрын
I'd start by first upping my settings, currently running minimum. Rather have the extra processing power I think.
@AdamCradamParkes6 жыл бұрын
wouldn't it be better to use xbox controller emulation? then you allow the ai to control analogue inputs
@iLLt0m7 жыл бұрын
Do you think your code will get to a point where you'd feel comfortable installing it in your RL car?
@sentdex7 жыл бұрын
I'd tone it down and put it in now, I just don't have a car that I can do it with.
@mohammadabdullah13026 жыл бұрын
Can this algorithm be applied on a rc car?
@vijayabhaskar-j7 жыл бұрын
I still don't know why did you use hm_x=x_move/0.5,I was trying to make a Aimbot and I experimented with the mouse movement and found x_move and y_move is enough to target the center of the detected person,In The keys.keys_worker.SendInput(keys.keys_worker.Mouse(0x0001, xpos,ypos) line if you give x_move,y_move as the input inplace of xpos and ypos it actually moves mouse from the current position to currentx+x_move and currenty+y_move.
@Lee-ie1xg7 жыл бұрын
if you have the answer to this let me know too :)
@milaandahiya7 жыл бұрын
How much vram does tensorflow need?
@sentdex7 жыл бұрын
For... what? It all depends on the task, and how fast you want things to go. Some tasks I use tensorflow for can use as little as 1gb of vram, while other tasks consume 24gb. It just all depends. For object detection specifically, I seem to be fine with as low as 4gb or so... but ideally more like 8+ is what I want.
@sahajkapoor47187 жыл бұрын
Can you tell me which editor you use
@sentdex7 жыл бұрын
I use IDLE.
@MaxDittmar7 жыл бұрын
Teaching AI to steal vehicles... Lol haha.
@sentdex7 жыл бұрын
What could go wrong?
@gkal197 жыл бұрын
Can you tell me that it's possible to do a "self-driving-car" script similar to yours that works on GTA San Andreas?
@sentdex7 жыл бұрын
Yep, absolutely possible.
@SwiggidySwoody7 жыл бұрын
i wonder how long it's gonna take until the first aim assist or bot based on this comes out.
@robertdowneyjr.94246 жыл бұрын
Sentdex please keep making stuff like this
@themonkeyminds72527 жыл бұрын
Please upload a video on yolo with tensorflow..
@Creuilcreuil7 жыл бұрын
*WHERE IS CLOSET*
@sentdex7 жыл бұрын
We may never know.
@onefulltimeequivalent12307 жыл бұрын
I love the sound of your keyboard
@datasciencewithr10397 жыл бұрын
I love your tutorials! Please , if possible, in future do create content that is NLP-deep learning focused as well :) thanks in advance
@skylerjr26487 жыл бұрын
Seriously impressive. Words do it no justice... Once you teach it to use weapons or even the mod menu... oh god...
@davedumas06 жыл бұрын
have you tried this in fiveM ?
@gazzpacho21457 жыл бұрын
Nice vid dude..
@miladhosayni50457 жыл бұрын
Hi, your tutorial was really great, but you can learn Android with Python ?
@SaurabhKumarxx7 жыл бұрын
you're awesome your videos have helped me a lot :)
@nekvanlik33497 жыл бұрын
Man you are awsome. I really learned a lot from you. Could you please make a tutorial on how to make an online game. Like "Tanks" from pygame tutorial but online.
@JohnDoe-kr9zh7 жыл бұрын
great video! thanks
@freebird69545 жыл бұрын
Very interesting
@xaravox7 жыл бұрын
Hi Sentdex! What is your opinion on implementing machine learning for MMORPGs (for example an ai that plays WoW)? Would it be too complex at this point in time?
@RutvikPatel26117 жыл бұрын
Dont lose...hope on less...view..just remember i am learning! I am getting my degree from you!
@GustyBroadcast7 жыл бұрын
Why dont you open up a Bitcoin Address for donations or +=1
@sentdex7 жыл бұрын
Bitcoin is one of the options on the support page on pythonprogramming.net, which is linked to at the end of every video. You can also manually go there: pythonprogramming.net/support-donate/
@GustyBroadcast7 жыл бұрын
sentdex what about +=1 ?
@sentdex7 жыл бұрын
Nope, you cannot currently subscribe to +=1 with bitcoin
@GustyBroadcast7 жыл бұрын
sentdex darn, how about up front?
@sentdex7 жыл бұрын
What do you have in mind?
@anonymousworldchanger79627 жыл бұрын
Hi sir currently i am working on my object detection project in python but their is import error for cv2 like import cv2 ImportError: DLL load failed: %1 is not a valid Win32 application. will you please tell the solution to this problem i will be very thankful to you sir Thankyou
@GtaRockt7 жыл бұрын
did you install it correctly? open cmd and use pip install opencv-python you will need pip though
@AhmedAbdulSalam57 жыл бұрын
Hello people.. just came to the latest video ask since I thought I might won't get an answer in first video.. Q: what are the requirements I should fullfill so that I can start learning.. Like.. thing I need to download and setup things..hardware...? Edit: my laptop - Intel HD 4000 - 2GB 8GB ram 1 TB HD Ubuntu/win 10 (dual boot) And yah.. ma laptop can run GTA 5 very good :P Iam new to this world and currently persuing Post Graduation in data analytics Ty.
@GustyBroadcast7 жыл бұрын
Honestly, if you want to start learning Python you are in perfect shape. But if you want to do this kind of detection, you need a proper GPU with decent VRAM for better detection times. Intel HD graphics won't cut it. I recommend that you build your skills first rather than jumping here, this is a complex project over the course of months. Check his Python 3 Tutorials and start there. Then once you can relatively understand most Python projects (the proper ones) then you can make the investment for the GPU and other things. That is my advice, so take it or edit it how you please.
@AhmedAbdulSalam57 жыл бұрын
I appreciate your response.. thank you for guiding me.. !!
@GustyBroadcast7 жыл бұрын
Ahmed Abdul Salam no problemo
@TheGodCold6 жыл бұрын
You must've used Franklin for that :D
@AndrewChaiko7 жыл бұрын
17.35 - Cyberdyne won't happen so soon XD
@CariagaXIII7 жыл бұрын
are you john connor
@onefulltimeequivalent12307 жыл бұрын
15:59 closest implementation of skynet I've ever seen
@sentdex7 жыл бұрын
Let's keep getting closer
@robertwenzel66547 жыл бұрын
Hey sentdex great work! Love your videos! Could anyone tell me the name of the mod for GTA V he is using?
@sentdex7 жыл бұрын
To do what?
@robertwenzel66547 жыл бұрын
If I remember correctly, in the beginning of the tutorial series you turned off traffic in GTA V. That´s what I´m looking for.
@sentdex7 жыл бұрын
Sure, to do that I use the native trainer + enhanced native trainer. Can find both @ www.gta5-mods.com/
@robertwenzel66547 жыл бұрын
Thanks for your help, very much appreciated! Keep up the great work you do.
@ayush04777 жыл бұрын
from self driving car to car stealing robot what next? cooperative AI to player VS AI ?
@gamesthatmatter93747 жыл бұрын
use visual studio 2017 for python development editor . ... its free and powerfull
@sentdex7 жыл бұрын
IDLE is also free, and has all the powers I want :D
@nithinraj97727 жыл бұрын
Hi, I want to ask about handwriting recognition in python is there an way for me to contact you??
@PauloSilva-yu7fl7 жыл бұрын
excelente vídeo gostei muito!
@felixandriannugroho37217 жыл бұрын
You're Amazing :)
@Prometheus_Storm7 жыл бұрын
I am foreigner subscriber. I have some questions, How did you install the Tensorflow? Do I have to install Anaconda? (I am using Python 2.7)
@Red_Devil_-es1rt7 жыл бұрын
sentdex I am having problems with pip installing matplotlib to use for cv2. An error occurs saying that the following required packages can not be built: freetype, png. Do you have any idea how to fix this. Or anyone in the comments?
@p0pka_enota7 жыл бұрын
I see a lot of python here. Try PyCharm, this is awesome IDE for python. It has a free(community) version. This software saved me a lot of time! P.S. I don't have any relation to the company behind it, just sharing my experience.
@TejasVedagiri7 жыл бұрын
Pre trained Object-Dection model has 7 class Cars,Truck,Bike,Person,Traffic_RED,Traffic_Yellow,Traffic_GREEN Hope it helps Link:-drive.google.com/open?id=0BwsCnJ2OXkorOWFWMnBNSVhHbUU
@businassman6 жыл бұрын
Sarah Connor 99.9%
@homer97367 жыл бұрын
You should teach the ai to play through the whole game
@Judgment897 жыл бұрын
That's what I was thinking. An overly complex way to beat GTA V. Program your own AI to do it for you.
@RazinShaikh7 жыл бұрын
Now teach AI how to take over the world
@sentdex7 жыл бұрын
+Razin Shaikh working on it
@kasunchamara74977 жыл бұрын
dude....nice work can u show us a self driving AI for need for speed hot pursuit game ??
@8o8inSquares7 жыл бұрын
Duude is there chance for you to create same thing for Rocket League? Perhaps to beat the Rocket League's champions? Something like a 1v1 master bot?
@shrutigupta79367 жыл бұрын
M the second 😍
@eddys69957 жыл бұрын
You should have a bitcoin address for donations.. cmon you are a programmer lol.
@sentdex7 жыл бұрын
I do, and it's linked to at the end of every video, I just have many ways you can support...and I don't wanna spam every time all the methods. Here's the link: pythonprogramming.net/support-donate/