AI Learns Table Tennis

Sdílet
Vložit
  • čas přidán 10. 08. 2023
  • ragdoll overcomes it's spherical disabilities by violently shaking it's pelvis
    Discord: / discord
    Reddit: / b2studios
    Twitch: / b2studios
    Patreon: / b2studios

Komentáře • 923

  • @synt_axe
    @synt_axe Před 8 měsíci +2632

    AI: So what am I learning today?
    b2: Ping pong
    AI: Cool!
    b2: *pulls out taser and a bag of Doritos*
    AI: ...

    • @gamering149
      @gamering149 Před 8 měsíci +198

      and a unholy amount of jelly beans constantly being launched out of a tube

    • @ehmaree
      @ehmaree Před 8 měsíci +121

      @@gamering149 And each jellybean is $33

    • @AndroCubed
      @AndroCubed Před 8 měsíci +118

      @@ehmaree it costs 400,000$ to feed this ai, for TWELVE seconds.

    • @orangeduckduck2996
      @orangeduckduck2996 Před 8 měsíci +13

      He eats jelly beans like heavy shoots bullets.

    • @cassidy_and_evan
      @cassidy_and_evan Před 8 měsíci +6

      You forgot about the truck of gummy bears.

  • @Sirpwnsalot
    @Sirpwnsalot Před 8 měsíci +3254

    ready to watch an intense table tennis match with someone spasming on the floor for the first 12 hours

    • @jonasheikkila8204
      @jonasheikkila8204 Před 8 měsíci +35

      yeahs

    • @Tarvitan
      @Tarvitan Před 8 měsíci +18

      Fr

    • @toblobs
      @toblobs Před 8 měsíci +92

      Not much different from regular table tennis

    • @Subscribe15387
      @Subscribe15387 Před 8 měsíci +16

      HOW IS THIS 8 HOURS AGO WHILE THE VID IS 1 HOUR ago

    • @Astropine
      @Astropine Před 8 měsíci +22

      @@Subscribe15387 it was a premiere, you can comment before you watch it

  • @dylandgs
    @dylandgs Před 8 měsíci +3650

    As an american I really appreciate you converting kilos to something I can understand

    • @Anothergingerman
      @Anothergingerman Před 8 měsíci +320

      🇺🇲🦅WHAT THE FUCK IS A KILOMETRE🦅🇺🇲

    • @redstonemaster10
      @redstonemaster10 Před 8 měsíci +134

      @@Anothergingerman Obviously a kilometre is a milli-megametre, that is, a thousandth of a megameter.

    • @nathantan4603
      @nathantan4603 Před 8 měsíci +59

      @@Anothergingerman you mean kiloMETER

    • @MachoDavid
      @MachoDavid Před 8 měsíci +42

      Hamburgur

    • @tomohawk2177
      @tomohawk2177 Před 8 měsíci +11

      It’s normally the opposite way around in my experience

  • @toblobs
    @toblobs Před 8 měsíci +1467

    I seriously can't wait for an entire series of PPO based AI to win at the Olympics in 2078.

    • @richmail
      @richmail Před 8 měsíci +25

      That would actually be sick. Researchers VS researchers. Who can make the best table tennis AI?

    • @SSukram_
      @SSukram_ Před 8 měsíci +12

      ​@@richmailthere is a competition where researchers try to make an ai that mines diamonds in Minecraft, the fastest ai wins

    • @richmail
      @richmail Před 8 měsíci +4

      @@SSukram_ Whats the competetion called?

    • @SSukram_
      @SSukram_ Před 8 měsíci +3

      @@richmail I don't remember rn, I'm not even sure if they do it anymore

    • @Elemental...
      @Elemental... Před 8 měsíci +10

      @@richmailthey have a competition like that in the game “Rocket League” where coders code bots and then make them face off.

  • @thewiseoldfox
    @thewiseoldfox Před 8 měsíci +282

    If I had tennis balls instead of feet, I'd have a similar walking method

  • @kittleo3614
    @kittleo3614 Před 8 měsíci +196

    "You can think of me as an AI, trying endless amounts of random shit and occasionally learning something new." Story of my life.

    • @Helios8170
      @Helios8170 Před 3 měsíci

      Isn't that just all types of intelligence?

  • @necrolycoris
    @necrolycoris Před 8 měsíci +582

    i love the choice of NOT giving the AI flat feet, opting for spheres JUST to make it fun.
    Worth the 3 months wait 👍

    • @bugzilla318
      @bugzilla318 Před 8 měsíci +79

      The sphere feet are somehow easier to balance on, as explained in a previous video. I do not understand why or how this works, but it does make it look like they’re skating which is funny.

    • @NopeNaw
      @NopeNaw Před 8 měsíci +77

      ​@@bugzilla318Without knowing the exact intricate math, I would guess that the reason is that the feet would effectively require two additional joints and the AI would need to be trained to use like actual feet (otherwise it would just be tippy toeing around and be pretty much the same as the ball feet AIs). The ball feet are likely a case of "good enough" approximation of what humanoid locomotion would be, without needing to spend an inordinate amount of time replicating the functions of ligaments and tendons that allow us to use our feet the way we do.

    • @puppergump4117
      @puppergump4117 Před 8 měsíci +32

      @@NopeNaw Also, reducing the number of inputs and outputs speeds up the learning and thinking process by an order of magnitude, especially on non-specialized graphics cards or cpus.

    • @no_dogs
      @no_dogs Před měsícem

      but most importantly, they kept fazing through the floor

  • @redacted0_5
    @redacted0_5 Před 8 měsíci +284

    Don’t know if you’ll read this, but the humour here lands a lot better than the previous video, so good job :)

  • @hexagon8899
    @hexagon8899 Před 8 měsíci +716

    give the AI a reward for longer distance strides, should help with more realistic walking

    • @hansstrudel9614
      @hansstrudel9614 Před 8 měsíci +107

      I think something more important would be giving them some actual feet

    • @aljon5947
      @aljon5947 Před 8 měsíci +52

      yea i think actual feet would be better(imagine walking with wheels as foot) but i remember he said something about it in the bowling video being too hard for the AI

    • @xxizcrilexlxx1505
      @xxizcrilexlxx1505 Před 8 měsíci +22

      ​@@aljon5947if i remember it was that is too complex for the IA and it made imposible the smallest leaps on the IA

    • @randomblock1_
      @randomblock1_ Před 8 měsíci +20

      If you had softballs for feet I'm pretty sure this is how you would walk too

    • @Roflcopter4b
      @Roflcopter4b Před 8 měsíci +4

      Great. Um. How? The fuck is a stride? The AI knows location and angle.

  • @derpyderp5396
    @derpyderp5396 Před 8 měsíci +35

    4:26 "the most active pelvis since wilt chamberlain" got me rolling💀

  • @TabletPencil
    @TabletPencil Před 8 měsíci +110

    2 parts within an hour??? this is amazing, can't wait for next years upload

  • @johngellare3507
    @johngellare3507 Před 8 měsíci +19

    I love how you had to specify for it to stay on it's side of the table because it would 100% climb on the table and just violently shake around

    • @alexisb3829
      @alexisb3829 Před 3 měsíci +1

      I would like to see it without that specification lol

  • @diamonddudeygo
    @diamonddudeygo Před 8 měsíci +28

    "Table tennis is harder to solve than bowling or being spider-man" this one starts strong

  • @pedronunes3063
    @pedronunes3063 Před 8 měsíci +16

    6:29 This scream is so cute

  • @Moonlight_Drawing
    @Moonlight_Drawing Před 8 měsíci +79

    Just a suggestion, you should add a timer that shows the real time hours to the sections where the ai learns

    • @b2stud
      @b2stud  Před 8 měsíci +53

      good idea, ill be sure to implement it in the next video

  • @bazem
    @bazem Před 6 měsíci +25

    1:41 - Measures the height in feet
    Makes fun of North Americans for not using kilos

    • @TunaBear64
      @TunaBear64 Před 4 měsíci +1

      Worst of all, it used Kilos, Kilos is basically mean "a thousand"
      A thousand what?
      Use KiloGRAMS next time.

  • @foxlive420yes9
    @foxlive420yes9 Před 8 měsíci +57

    As a American I do appreciate how he translates kilos into hamburgers it’s much needed for me to understand it

    • @Pain.enjoyer
      @Pain.enjoyer Před 8 měsíci

      How are there no reply’s on this amazing comment

    • @archaniac529
      @archaniac529 Před 8 měsíci +4

      did the math on this actually. if we're going off of McDonald's burgers, 85kg is about 405 hamburgers

    • @stephenaulin8298
      @stephenaulin8298 Před 8 měsíci

      Xd

  • @jimibunni
    @jimibunni Před 8 měsíci +93

    I know you have hundreds of thousands of subscribers, but i still dont think you have nearly what you deserve. Your content is so expertly made, being funny, entertaining, and informative all in one. Keep making such great content!

    • @b2stud
      @b2stud  Před 8 měsíci +17

      Thank you so much! I will do my best!

  • @nullmeasure6155
    @nullmeasure6155 Před 8 měsíci +13

    I started chuckling when the continuous stream of rainbow candy started going into your guy's mouth and nearly stopped breathing when the taser animation came in. All I can say is so true.

  • @jespervanbommel
    @jespervanbommel Před 8 měsíci +13

    i love the accurate simulation of the magnus effect at 5:11

  • @ataready8810
    @ataready8810 Před 8 měsíci +31

    Fellow Aussie here, I'm proud that you've gone from one successful video on BTD6 AI to one banger after another. My favourite so far has to be the cannons that never miss video because of the personality in the scenarios. Keep it up man, your animation skills and video production are excellent.

  • @henningerhenningstone691
    @henningerhenningstone691 Před 8 měsíci +12

    man this video is just perfect... the consistent art-style, the explanation and animations to go along, the humour. Absolutely bloody brilliant

  • @gamermanh
    @gamermanh Před 8 měsíci +27

    Goddamn hilarious to watch that AI struggle with the spherical feet you gave it, wow
    Does perfectly well standing in a small area but the second it needed to move any kind of distance without control over the arms (which did practically ALL of the balancing) it flopped over

  • @thatweirdphoneguystickman5596
    @thatweirdphoneguystickman5596 Před 8 měsíci +7

    As an American, I'm so glad he converted kilos to cheeseburgers, otherwise I wouldn't be able to know how many Kilos he weighed.

  • @gr1ffyyn351
    @gr1ffyyn351 Před 8 měsíci +8

    I love this channel, you’re the reason I got into coding, so glad you’re back!

  • @thesnailmachine7181
    @thesnailmachine7181 Před 8 měsíci +6

    My partner and I have formed a strong emotional attachment to this little guy. We call him Gregor and we just want him to be happy with his work.

  • @sodancookie2905
    @sodancookie2905 Před 8 měsíci +5

    This is one of the only channels that I genuinely get excited every upload. Keep up the great content!!

  • @joshuapatrick682
    @joshuapatrick682 Před 8 měsíci +1

    I think this raises a bigger question about what constitutes programming? Because you aren’t actually programming anything, you’re just defining the parameters an algorithm used to program something.

  • @spainwithoutthes101
    @spainwithoutthes101 Před 8 měsíci +22

    Why is this a dhar mann title without the instantly regrets it

    • @diegodoesnothing6092
      @diegodoesnothing6092 Před 8 měsíci +9

      AI is forced to play table tennis, what happens next is unbelievable- b2 studios

    • @biscade
      @biscade Před 8 měsíci

      is_shocking

  • @DeuxisWasTaken
    @DeuxisWasTaken Před 8 měsíci +4

    I think the jerky small movement is because you punish distance travelled by limb, not acceleration which is what actually wastes energy - a single big movement of a leg is less wasteful than constantly jerking it back-and-forth and having to apply a lot of force to achieve that acceleration. Nice video anyway, subbed.

  • @BroudbrunMusicMerge
    @BroudbrunMusicMerge Před 6 měsíci +1

    "Smuggling extra information into its neck" is my new favorite context-free phrase

  • @Clop
    @Clop Před 8 měsíci +2

    you're now one of my favorite creators. i love stuff like this it's fun. keep doing you man, you're awesome.

  • @lpsp442
    @lpsp442 Před 8 měsíci +5

    b2, yours is the first youtube channel I think I've ever encountered (certainly the first AI channel) to consistently make pause the video because I'm *creased* up laughing. The witch's spell got me in the bowling vid, and now.... Will Chamberlain, eat your heart out! 🐟❤

  • @forlape
    @forlape Před 8 měsíci +4

    mans going thru the entire wii catalog
    gotta do boxing next

  • @yeturs69420
    @yeturs69420 Před 8 měsíci +2

    That is such a good idea for backers, making a little background character for videos.

  • @Unknown-yt2hb
    @Unknown-yt2hb Před 8 měsíci +1

    This was really well edited.

  • @scoper7897
    @scoper7897 Před 8 měsíci +7

    love this AI videos man. keep it up

  • @MrMeoow91
    @MrMeoow91 Před 8 měsíci +3

    I just could not stop laughing at the silly movement by the AI

  • @widojay2048
    @widojay2048 Před 8 měsíci +2

    I think these kind of 3D rendering videos are awesome. You’ve built a whole world a character and you animate it

  • @luketrzeciak6967
    @luketrzeciak6967 Před 8 měsíci +2

    Wow man, super entertaining. The math, programming, graphic design. Everything man, perfect!

  • @Yippee-sk1fm
    @Yippee-sk1fm Před 5 měsíci +6

    1:47 If four burgers equals 1 pound then 773 divided by 4 would be 193. But 85 kg equals 187 lbs. so there’s a 6 pound difference. So technically 6 x 4 would be 24 then 773 - 24 = 749. There should only be 749 burgers as 749 divided by four is 187.

    • @Cutielove9770
      @Cutielove9770 Před 4 měsíci +3

      The dedication to do something this unnecessary is voila 😂😂😂😂

    • @GDnobrain
      @GDnobrain Před 2 dny +1

      GG you passed your maths test! (Not making fun)

  • @Splarkszter
    @Splarkszter Před 8 měsíci +7

    amazing work, interesting, educative and extremely funny. You skills are extemely good.

    • @b2stud
      @b2stud  Před 8 měsíci +2

      Thank you :)

  • @TheInfamousLegend27
    @TheInfamousLegend27 Před 8 měsíci +2

    "trying endless amounts of random shit and occasionally learning something useful"
    i've never felt so understood in a programming video lmao

  • @SkyBreaker321
    @SkyBreaker321 Před 8 měsíci

    YOU FINALLY POSTED 😍
    I love these videos bro, much love

  • @Izayoink_Saccuy
    @Izayoink_Saccuy Před 8 měsíci +3

    People say ai will take over the world and yet they can't even play ping pong

  • @BrakeCoach
    @BrakeCoach Před 8 měsíci +3

    0:58 bro looks like hes dancing gangnam style

  • @bunnyonabunwithagunnicepun5689

    Can’t wait for Part 2!

  • @inoobboi5438
    @inoobboi5438 Před 8 měsíci +1

    i have never been so entertained by physics explained by ragdolls and fish in my life

  • @AlexJoneses
    @AlexJoneses Před 8 měsíci +3

    This is going to be epic

  • @israelt.hernandez8612
    @israelt.hernandez8612 Před 6 měsíci +3

    6:24
    ._.
    HeadShot (diying fish noises)

  • @djentlover
    @djentlover Před 8 měsíci

    Why are these my absolute favorite videos in a long time

  • @shaurmiath6719
    @shaurmiath6719 Před 8 měsíci +1

    I like that it doesn't so much "walk" as kick the ground over and over as quickly as it can.

    • @near5148
      @near5148 Před 8 měsíci

      It looks goofy as hell

  • @GlitchGames_A
    @GlitchGames_A Před 8 měsíci +4

    I feared the fast limb movement punishment would make the ragdoll walk by taking rapid, short steps. It did end up doing that, but looking at how the face is moving, maybe it's not that big of a deal

  • @The-EJ-Factor
    @The-EJ-Factor Před 8 měsíci +3

    To make it more human you need to teach it what would and wouldn’t be energy efficient. Which is harder to do than it sounds.

  • @CliffThePerson
    @CliffThePerson Před 8 měsíci +1

    1:48 thank you for giving measurements that we will understand.

  • @SRHtheHedgehog
    @SRHtheHedgehog Před 8 měsíci

    I cannot begin to tell you how much i love these videos i cry laughing every time i love them so much

  • @alaggs7279
    @alaggs7279 Před 8 měsíci +4

    next: AI learns competitive yugioh

  • @multiarray2320
    @multiarray2320 Před 8 měsíci +8

    why are there two parts instead of just one video?

  • @isaacgreen9495
    @isaacgreen9495 Před 8 měsíci

    Incredible!
    I love the fish interactions XD

  • @ThatOneHacker305
    @ThatOneHacker305 Před 8 měsíci +1

    “The ai will have to have full control of its right hand to succeed” good luck

  • @HappyGingerWolf
    @HappyGingerWolf Před 8 měsíci +3

    If the AI is sneaking data into the neck movements, why not just give it a stored value it can edit? Wouldn't that achieve the same result without the jittering?

  • @nikkiofthevalley
    @nikkiofthevalley Před 8 měsíci +3

    5:17 Hey, it's a SUVAT equation! Didn't expect that, I would've expected a Euler integration with Newton's laws of motion, which is the usual way people do this.

    • @natbia5362
      @natbia5362 Před 8 měsíci

      🤓

    • @nikkiofthevalley
      @nikkiofthevalley Před 8 měsíci

      @@natbia5362 You are literally watching someone make an AI that plays table tennis. The fuck are you judging me for?

    • @OmniSync
      @OmniSync Před 6 měsíci

      ​@@natbia5362🥸

  • @Digby8
    @Digby8 Před 8 měsíci +1

    Another incredible video!

  • @shayaharon5015
    @shayaharon5015 Před 8 měsíci

    When b2 uploads its a good day

  • @creepyscaryskeletons3034
    @creepyscaryskeletons3034 Před 8 měsíci +4

    Nobody:
    That one person in the stands: 👀3:50

    • @OmniSync
      @OmniSync Před 6 měsíci

      thats an ai toddler

  • @Mahonokage
    @Mahonokage Před 8 měsíci +3

    I'm curious to see how an AI would handle an "energy consumption" problem. Seeing them walk with as many taps and movements as possible in the arms and head is funny, but also only possible in a state of infinite potential energy. It could force the AI to learn how to use assumed positioning with bigger (more natural looking) movements, in other words, kinda like rollback netcode in online games

  • @catomax26jeev
    @catomax26jeev Před 8 měsíci +1

    One thing to make it stop jittering so much is to punish it by moving too much, and reward it for not going so slow.

  • @shawnakervin
    @shawnakervin Před 8 měsíci

    i love the background music. simple and fun!

  • @Xizilqou
    @Xizilqou Před 8 měsíci +6

    you should use stencil shadows for the lighting in your videos instead of shadow mapping, shadow mapping is noticeably blurry and low res and sometimes leads to the "peter panning" shadow bias effect at 0:29 where when the ragdolls fall you can see the shadows disappear into the ground. Stencil shadows, often called "shadow volumes," are based on the actual geometry of the meshes instead of a camera image taken from the light itself and as a result have none of these problems. There's probably a plugin for these in whatever game engine you're using, it'll look so much better.

    • @Xizilqou
      @Xizilqou Před 8 měsíci +1

      This video has an example of stencil shadows in the same sort of indoor lighting style that you often choose to do youtu .be/CCIwiC37kks

  • @GeorgeDCowley
    @GeorgeDCowley Před 6 měsíci +3

    4:50 It's probably because you punished it for big movements (like lifting the legs).

  • @jaygvswrld
    @jaygvswrld Před 8 měsíci

    love when you upload

  • @saratan.
    @saratan. Před 8 měsíci

    Love ur vids mate keep it up ❤

  • @dogethefirst1
    @dogethefirst1 Před 8 měsíci +4

    3:10 i named that 1 guy watching him "Gerald" unless you already named

  • @alansmithee419
    @alansmithee419 Před 8 měsíci +3

    2:25
    I have never seen one of your AIs so despondent.

  • @Wacky0zack
    @Wacky0zack Před 8 měsíci

    Half of the impressions for this video must have been used on me. I see this video everywhere I go and all the time. I didn't look like a bad video but just a video I wasn't in the mood for. I finally caved and clicked on it. I enjoyed it

  • @brennansmith4670
    @brennansmith4670 Před 5 měsíci

    These videos are hilarious, your channel is so underrated

  • @szynke9553
    @szynke9553 Před 8 měsíci +5

    3:00 its me enjoying capitalism

  • @GamerChad_EaturBalls
    @GamerChad_EaturBalls Před 8 měsíci +3

    4:35 he's having a seizure help him

  • @JWhite-qi5zv
    @JWhite-qi5zv Před 8 měsíci +2

    The Wilt Chamberlain joke made me audibly laugh. Completely unexpected. 💀

  • @jdhgeui2838
    @jdhgeui2838 Před 8 dny

    This is such an amazing channel

  • @Wizzkidwas
    @Wizzkidwas Před 8 měsíci +30

    As a left handed person this video makes me feel left out
    lol
    Also 6:29
    Love their yelling

    • @gaopinghu7332
      @gaopinghu7332 Před 8 měsíci +6

      It makes you feel "left" out? Lol.

    • @Wizzkidwas
      @Wizzkidwas Před 8 měsíci +4

      @@gaopinghu7332
      Somehow I've never actually heard that one before, I'm impressed!

  • @ricopuper
    @ricopuper Před měsícem +3

    Pls make ‘AI learns to play soccer’ next.

  • @inzanity7212
    @inzanity7212 Před 8 měsíci

    YES! HE’S BACK!

  • @jimmoydapatat6928
    @jimmoydapatat6928 Před 8 měsíci

    this is hilarious and educational im subscribing

  • @nocluebruh3792
    @nocluebruh3792 Před 8 měsíci +2

    1:28 honestly... I would have made the same mistake lol

  • @rappyrap2819
    @rappyrap2819 Před 8 měsíci +3

    I see these walking AI videos often, and I notice they are never given feet, they always either have spheres or the end of a square leg. I wonder how it would go if they were given feet, even just simple rectangles that they could move.

    • @ts4858
      @ts4858 Před 8 měsíci

      I think spheres work better than rectangles though

  • @MaskedDeath_
    @MaskedDeath_ Před 8 měsíci

    "the AI is smuggling extra information into it's neck" is not a sentence I ever expected to hear. It is strangely resourceful, though.

  • @nemtudom5074
    @nemtudom5074 Před 7 měsíci +2

    1:10 Gotta love how its going to be the most dexterous creature alive once its finished training
    .....But only in its right arm
    lol

  • @sirgoosehonk2716
    @sirgoosehonk2716 Před 8 měsíci +3

    0:50 bro tweakin💀

  • @citratune7830
    @citratune7830 Před 8 měsíci +3

    2:30 AM??

  • @lemagicbaguette1917
    @lemagicbaguette1917 Před 8 měsíci +1

    From what I’m understanding, I need a jellybean firehose, a bag of Dorito crisps, and a taser to teach a toddler to walk. Gotcha.

  • @theomnipotentweeb4891
    @theomnipotentweeb4891 Před 8 měsíci

    The second learning montage made me laugh a lot.

  • @Learn_The_Cube
    @Learn_The_Cube Před 8 měsíci +3

    5 am est 😢😢😢

  • @bluey-next777
    @bluey-next777 Před 8 měsíci +5

    6:29 HEADSHOT

  • @waffleclan1831
    @waffleclan1831 Před 8 měsíci

    Adding the square green box made it look like he's fighting an unruly weasel

  • @zachsmith3761
    @zachsmith3761 Před 8 měsíci +1

    “With the most active pelvis since Wilt Chamberlain” now that is a great joke that may unfortunately fly over many peoples’ heads

  • @tekno47
    @tekno47 Před 8 měsíci +4

    👽

  • @ohhi687itsme8
    @ohhi687itsme8 Před 8 měsíci +3

    8:24 he finally admitted it

  • @heavencanceller1863
    @heavencanceller1863 Před 8 měsíci

    I love your videos. The characters are so cute!

  • @MachoDavid
    @MachoDavid Před 8 měsíci

    Great vid!