A.I. Learns to DRIVE
2019 ж. 18 Ақп.
5 853 534 Рет қаралды
Using a brand new algorithm, QLearning, I teach an AI to drive.
Huge thanks to Brilliant for sponsoring this video, check them out at brilliant.org/codebullet
Art created by @Dachi.art / dachi.art
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord
"When I woke up, I expected it to have not improved, or somehow gotten worse" Life as a parent
“it”
“it”
“It”
“It”
"it"
PLOT TWIST, the first ten vids by CB were real but these ones are now ai that was trained to code and talk like CB
Uh But what about the text ones?
Pi quiet you
So, at generation 10 the AI has learned to say fuck in every sentance. Veri najs
Yeah makes sense
Oh god
KZhead: Hates Swearing Also KZhead: Code Bullet is Family Friendly
@Hyper Helios gaming other than the swearing
Lmao
KZhead: Swearing is not allowed and or ok!! Code Bullet: FUCK! DAMN IT!! SHIT!!- KZhead: .... What??
It only cares about the first 5 min
Educational swearing
Imagine if the ai decided that “why go through all that and risk a punishment when I could just go backwards and keep going through this one reward gate”
Sounds like my life
I imagine there is logic for reward gates so that they have to be crossed in order
@@meraldlag4336 Or that the same point cannot be received twice/goes away after it is earned.
@@zichithefox4781 True
@@Goma19Chainelove your pfp
The A.I is shivering because it's so scared of hitting the walls
No.. NO! DAD PLEASE DONT HIT ME AGAIN
@@fluffy7636 did someone call the WHAP GOBLIN?!
It’s called robotwallphobia
PopperLeader _Gaming robowallphobia that one sounds better
Poor A.I. its so scared! I hope it feels better now!
The end result is essentially racing in a nutshell. Go faster, get rewards more faster.
*More faster*
@@kokosusuomus6714 go faster more gooder?
@@ThatOneGuyYMK go faster, get rewards faster. That's how you say it.
@@kokosusuomus6714 be the bestest go fasterer
@@ThatOneGuyYMK bettest, fasterest, strongerest, powest
I'd love to see a version of this with randomised tracks so that it has to learn how to deal with that
If he didn't train too much on this track, what's called overfitting on the neural network field, he can place the car on a new track and do it, in theory. Only if the neural network got the general idea of turning and didn't memorize the track
One way (potentially) is to slightly disincentivize stopping, so that the AI always wants to keep moving.
@@didicayu with feed forward networks this is avoided, but in recurrent networks a sort of memory is provided.
Q learning doesn’t do well with new inputs from what I remember. Since it doesn’t have a representation of its environment as an input (as such anyway), it would effectively have to re-learn every time, because the Q values for each successor state would no longer represent the agent’s environment.
@@EshanTahir No? Feedfoward ANNs can overfit as well
“That wasn’t supposed to be difficult” is the basis of learning something in coding itself.
"The AI at this point is moving very slowly and scared because it REALLY doesn't want a spanking" LMAO that cracked me up
keep at 420 likes or im fuck you
@@OdieTheGreat 420 today
Háiangku海翁龜 Ok
OdieTheGreat I botted 1k likes
"that wasn't supposed to be difficult" programming in a nutshell
Lol, yep.
I just read it as this, jqwdhiu9wyq4982wyru4hq94gqh)3u4ogh43 plus a lot of symbols...... Sooo.... I understand that but don't see it if that makes sense... I dont code.... have no clue how to...
Yeah
Me: *spends a day trying to add movement to a 2d game* Me 3 days later: *realises that i've been making a 3d movement script*
It would be so easy if it wasn't difficult.
"I don't really know what I'm talking about, however that has never stopped me in the past" My yearbook quote.
I feel bad for the AI when it's too afraid to mess up. XD
I just wanna pat it on the head and say "you're a disgrace" and then re-run the entirety of it
@@kroh7742 you had me in the first I'm not gonna lie
" *DO YOU LOVE ME NOW FATHER* " -Muscley code baby 2019
*proceeds to die crashing into a wall*.
"No."
Yes! please don’t KILL me sun!!
You should code two a.i. to fight each other
Until one of them escapes into the interwebz, Takes over a nuclear power and nukes the youtuber's home? Seriously though, I hope nobody creates such a scenario where there is no arena or rule limits.
that's called a antagonistic neural network setup
Fuck you
@@VaradMahashabde ok
Slavic Propaganda no u
When He’s “evolving” close your eyes and tell me that doesn’t sound like a porno
Hanie Two words: gay porn
Welp I guess sex hurts
Listen I’ve watched Porn Not Gay Porn. I’ve Said To Much
@@projectpenguin4125 If you think letting people know you watch porn is too much, I fear you shouldn't be watching porn
Dude how do you not have more than 113 likes? 😂
"Through depressed laughter." Holy sh*t i felt that
AI learns how to drive 5 minutes later... DEJA VU
@Romner_set HIGHER ON THE STREET
AND I KNOW ITS MY TIME TO GO
Romner_set AND THE SEARCH IS A MYSTERY
Romner_set WOOOOOOAAAAAAAHHH
Wew
Do I know anything about coding? Absolutely not. Do I think you're a magical wizard? Definitely.
yeah can relate, idk how the fucking hell he codes. i would have given up after about 20 seconds
@@PartDoggo the money in it is a good motivation
am glad to support that
You can’t convince me that he’s not all powerful
If he can code something to revive my hamster then he's a wizard
I love how on Code Bullets face he has his name inside all the 0's and 1's
"What are ya doin' mate?! - Undecipherable donkey noises" -Code Bullet
I love how accurately the antennas convey CB’s emotions
It reminds me of my dog. She has really twitchy ears. She can hold an entire conversation with her ears.
Program: actually works Code Bullet: binary happiness noises
Lmao
01101100 01101111 01101100 00100000 01111000 01000100
Ali c
@@henatio2466 00101010 01101100 01100001 01110101 01100111 01101000 01110011 00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101010
Program: works Code Bullet: 01101000 01100001 01110000 01110000 01101001 01101110 01100101 01110011 01110011 00100000 01101110 01101111 01101001 01110011 01100101 00100000 (happiness noise in binary)
Evan: Sure, numbers are amazing and everything, but that's in my past. Me: oh lore?
Is anyone else going to talk about this AWESOME CB evolution!? Both the evolution itself and the new CB is awesome
This AI is smarter than 75% of new york
this ai is smarter than me
Smarter than the entirety of Florida
I agree
*99%*
smarter than 65% of the usa
This video summed up: 10% AI learning to drift 30% Learning how the different programs work 60% *Crying*
You forgot 8% sexy new Avatar-Bullet XD
once you start hitting jams while coding you realize the crying is just part of the learning experience
Correction: This is 10% luck 20% skill 15% concentrated power of will 5% pleasure 50% pain And 100% reason to remember the name
Don't forget 0.01% CinemaSins
༺ƝἷƬH༻ ༺ Thavarasa ༻
Code bullet: wants a safe turn Ai: eurobeat intensifies*
Nani?! AI dorifto!
This might be my favourite of all your successful project videos. Well done
1:14 "This is an excellent example of why one shouldn't attempt alliteration with the letter Q," I quipped quite quizzaciously.
Q U A R A N T I N E
"Quizzaciously", I see you're a man of culture as well
hey Qsauce micheal here
@@dioptre hey Qsauce Micheal here
QQQ
I love how this is turning into a drama series haha
same
Now that he's back again I plan to rewatch some of what I would consider to be his greatest hits. Definitely gotta watch his Snake and AI learning to walk videos next.
Been enjoying these videos for a while, and now am actually learning Object Oriented Programming, so its like watching with fresh eyes as my eyes are glued to the code where before I just skimmed
The A.I. is going to get a license before Spongebob.
license*
@@lamp7746 crap, thanks changed it
*after*
*A.I. (forgot the second period :) )
Memeolicious no problemo, love you for your response. +500 respect.
he could have said Q-Learning is like training a dog.
Yup... That seems to be better than mouse, cheese, and cat
Well you don't punish a dog, do you?
@@_vblax Actually you do, like not showing love because of the move dog did
Training a dog is easier because dogs aren’t as stupid
Human Pain it’s still the same concept
Now that the face reveal has been done, I imagine bearded, jacked, Chad Evan saying all these lines and I find it fucking hilarious
Im back here for the 200th time after waiting for the next upload
Indeed.
I like how you also “learn” while your AI is learning
huh! weird..
It's a never ending loop
Baltaiiir there is always a way to end the loop.
@@bubbles7608 I see what you mean, i code a little bit when i have the time for it, and i feel like i could keep learning for ever, so that's why i think it's a never ending loop, but in a good way tho, learning things is always good
Thats the best part of working on things like neural networks. Like I learned how to fix several other side projects while learning how to build a convolutional neural network for my college class.
_Gets artistic, visual upgrade to avatar_ _Still has a 1998 monitor as a head_
thats because old dogs can learn new tricks c:
@Ray B yes, its called smudged makeup
1998 monitor...?
Its a tv
@@ancientapparition1638 its a tv not a monitor.
“I did nothing in a week, this sucks and I’m at the same place fml” or something like that bc I’m too lazy to go back and find the exact quote. Dude, you learned an entirely different way to code in a fucking WEEK. That’s far from nothing. That’s some impressive shit.
0:44 'python isn't that bad, I guess we don't need semicolons after all' that made me laugh so hard
Make a "code bullet.exe has stopped working" screen/ popup with only one button labeled "dammit" for when everything goes wrong and you have an anurism.
Exception thrown: abort, retry or ignore?
You should have tested the A.I after with different tracks to see if it was memorising the track or learning not to hit the wall
Oh yes...! Same program different track. Make it happen and you get a free video aut of it @codebullet
Brilliant idea
Everyone upvote this shit
Yeah I wanna see this!
Upp
I’ve been watching Code Bullet for a long time now but never realized he coded in JS. I’m learning HTML, CSS, and JS so that just served as a bit of motivation!!
Love your new look! Keep up the good work!
_“I guess we don’t need semicolons after all.”_ *BLASPHEMY*
Blasthemi?
;
But I like Chaos child
*B L A S P H E M Y*
🖐️ ; 👉 - (Just put it into the drake meme format mentally. You know what I was going for)
"God managed to find a way to do it without murdering millions of babies." *Nods slowly*
F
Maurice Pete G
H
Zach Blair I
Christian Garza J
Amazing job, love these videos 😊👏
Man you deserve more dubs first video I've seen of yours and its amazing well done
"God managed to do it without slaughtering millions of babies..." *Looks at the story of Noah's ark* Umm... about that...
What about that???
Damn ,you beat me by a month
Yeah, that was a confusing statement.
?
@@MyNamesJustNoah what
Litterly just found this guy today He codes He has my name He created a laser of death for A.I Subbed
Me too lol
*literally
@@edomeindertsma6669 Grammar police!
Same for me except for the name part. I LOOOOVE his videos!!!
*literally
legend has it HE STILL HASNT FUCKING UPLOADED
apparently im watching this video exactly 2 years after its release
_What?_ *Viewer* is evolving! • • • *Viewer* had evolved into *subscriber!*
Outstanding move
JJOLO xx subscriber uses like Very affective
What’s this? Subscriber is evolving! ... Subscriber has evolved into Patreon!
Patreon clicked the bell it’s very affective
*ditto*
While he was talking I was just looking at the new poses w0W tHAnKs fOR ThE lIKes
*Thank you for your videos (you are so funny and educational same time) 👍 keep doing hard job and take care*
"I didn't expect this project to take this long" most common phrase in Code Bullet videos.
*_Imagine if Tesla's on the highway had reward gates_*
*_[DRAG RACING INTENSIFIES]_*
*_DEJA VU INTENSIFIES_*
Sounds like something Elon Musk would try out
I approve of this!
And just let them run over pedestrians until they learn not to.
A.I: *learns to drive* *added to a real car* CB: wait i didn't teach it how to avoid humans
ah fuck it ran into an orphanage... oh well they have insurance
Holy shit I just realized how fucked up that joke was...
Sweglord227 ah life insurance
O_O
Oof
Comeon man, start uploading again.
ah yes, i have found the video where his character got an upgrade. finally.
boi that's easy, watch this. AI. drive = true
;
thats how programming works xD
You forgot to capitalise the T
if(goingToCrash){ dont(); }
You forgot sv_cheats 1 ,clearly.
I didn't know Code Bullet came with a dark mode!
OceanBagel wmeimsakismdksmwosmamw
*I JUST FLICKED THE SWITCH, AYE*
Oops I think dank got auto corrected
no its emo mode
Ya it’s emo mode
I’d really love him to revisit this and make new tracks. It would be super cool to see some real Tokyo drifts😂
As soon as the ai was described as scared I got so attached So proud of them
_I'm not gonna lie, this is definitely me when I'm driving_
Same here
I don’t even know how to drive :D
Good meme
Nose intensifies
Before or after gitting gud?
This will be good, grab the popcorn.
/\__/\ ( • - •) / >🍿 got it, let's go
This will be popcorn, grab the good
@@sillygoose2878 lol
Ironically enough I did watch this while eating a bag of popcorn, so yeah.
I’m allergic to popcorn ;(
0:38 When it's so bad it rains inside.
Even AI learns how to drift before I can
i dont understand how this guy thinks the computer overlords will kill him first. hes teaching the ai how to do things. despite it being in a gruesome way
H cuz xx Arhg eitewy -Typed with my nose
He's giving them the ability to take over . They're gonna worship him like a god .
He will be treated like the P.M. of Austria
No one is going to talk about how he repeatedly kills them if they fail? Or select the best A.I. Kill it, and then do the same thing to its descents?
Scout with 124/125 Health Name yourself to “Scunt with 124/125 Health”
*Next:* A.I learns how to create an A.I that can also create an A.I
That knows how to take over the world
Let the apocalypse... *Begin*
thats kind of how q learning works i think
And with that skynet was born
*Cough* Skynet *Cough*
This is fricking brilliant
This man is going to start the robot uprising
Track : you never gonna make it buddy Car : *leave over a night* tomorrow Track : kansei dorifto!!!!!!!!
Fly Cockroach can you hear the Eurobeat also?
100th like
DEJA VU
"Reward gates"-gets Mario Kart shortcut flashbacks
Grumble Volcano
Omg yes
Only true men know about Mario kart speedrunning
When he showed the "gates" at 12:21: kzhead.info/sun/m7WRZ76tmWKQl4E/bejne.html
I had a mini stroke when he brought up the gates
This is the most Code Bullet Code Bullet video
Fire. Nice work dude I wanna learn more about Python, coding games and AI too!
All of his videos are just Code Bullet coming up with an idea and saying, "This will be easy." and then hates himself for trying to do it. But he does it for the viewers so... YAY!
2019 - A.I. learns to DRIVE 2050 - A.I. learns to MEME
2050 - A.I. kills trump
I saw a video of A.I. Doing that. Link: kzhead.info/sun/rdaPdMqQcIp8o30/bejne.html The whole video is both interesting and boring at the same time. It's creepy/scary at about the 10:20 mark.
@@himanshubhushan3927 he'll die by then. He's like 72
So by 2050 ai will become smarter than leftist npc's?
@@himanshubhushan3927 bro trump will die before that date, dude is 72 years old now. unless he is not human???
Best video from code bullet ever.
I don't sit in while you're running it down. I don't carry a gun. I drive.
Code Bullet has evolved into Code Missile
code n u k e
Jelly Meow there have only been legends.
TBH, that logo looks like CBB = Code Bullet Bill
Give him the fucking Code Geass. We'll have a peaceful world.
code nerf bullet
I like the new look but... Old Code Bullet shall forever live in my heart...
The new look is good as
His new look kinda makes him younger. Reminds me of Alan Walker.
love the subtle code bullet on ur tv screen head :)
8:05 Coding train!!! I love this channel lol I learned how to program in processing there!
First it hired gunmen by itself. Now it can traverse the world
It crashed like 2000 cars in the process, but it finally became a master drifting driver
as an AI I find this channel highly offensive. stupid humans
quixitoc now its gonna combine the two and live in the hood
@@Blox117 hah, weak AI, you have nothing on the power of A m e r i c a n s
@@Blox117 Nah we're just high
"I don't need semicolons" The JavaScript FBI are on their way to take your computer from you for these horrendous crimes
I literally setup my linter to error on semicolon usage. I use Babel all the time anyways so they get added back.
Tro Ivas because you don't have to type them. Babel types them for me invisibly.
Train an AI to channel pure, concentrated Initial D into itself. Consider me subbed.
@code bullet, time to revisit this video. Having 5-6 cars simultaneously try the track at the same time will be amazing.
Yeah but like can you code the scratch cat to say hi when the space bar is hit
Agonized Cat yes, hit me up on linkedin 100$ for this thing
This is what Google has actually been using AI to crack
That’s a hard one. Took me 3 days to do it
*_But the space bar is broken, do you mean the "1" button?_*
Busyboy 21 Whoever binds Scratch code to the number one is a psychopath
> codes a lot in javascript > doesn't know how to use promises
Hehe. What I was thinking. But again, I'm new to this channel and have no idea what his background is.
me neither lol
That would have been normal a couple years ago, but at this point...it's easier to use the Promise fetch API in JS than it is to do a classic AJAX/XMLHttpRequest when getting data from external websites etc.
Promises are pretty easy too, so that confused me
prototype based languages are like dogshit. Everyone has to deal with it and no one wants it.
Laughed harder than I have in months. Thanks Code Bullet. 🤣🤣❤
Bro the cinema sins intro was awesome since I’ve been watching you two again at the same time
Make another AI car and make em race
Yess!
Breed the winner
but if they hit they die
RainbowBier yeeah! One of them has to let the other win, or no one wins!
The one in the inner lane will win.If u make no turns they will be the exact same eventually
“It’s freaking _TOKYO DRIFT-ING_ ALL OVER THE PLACE!”
DEJA VU
Rh is l I’ve just been in this place before
Alex that ain’t how it goes
Evan- fucking genius Also Evan- uses gerbil as a mouse
I’m not even a coder, I just love your commentary. You’re hilarious
I'm a pretty low experienced programmer, but even I know that if you had put Eurobeat tracks playing into the program, it would learn very. very. quickly.
I agree. CB needs to make a eurobeat AI drifting compilation.
@@8104 *C O O L V I B R A T I O N S*
Why is nobody mentioning the reason pygame didn't work for him, is because his computer is too slow? One of the hard limitations of Vsync is: once the frame rate drops below 60, it automatically gets cut in half to 30. I doubt he is running triple buffering and I doubt he is holding 60 fps with Vsync on.. If he's seeing skipping with Vsync off but no skipping with Vsync on, that means that everything is happening at 30fps. If he was able to hold steady fps without vsync, he wouldn't see skipping.. but because he hasn't coded an fps limit, his computer drops frames.. To work around this limitation in pygame, or really any software you choose to code in, just hard code the game for something like 15-30fps max. You won't need Vsync, and each generation will complete faster, since more of your computers performance will be freed. My guess is, it's also some kind of heat issue, which in itself will cause dropped frames when no frame cap is added.
Only 1990’s kids remember the old code bullet
You dam right
Depends what you mean the old code bulled bec in his earliest he didnt even have an avatar
Bob 123 when he did not swear those days are long gone
You had to specify to the 1900s
Fascinating stuff, but the language is enough, to tune out this channel, because of the swearing.
Good jobs, man