MariFlow - Self-Driving Mario Kart w/Recurrent Neural Network

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2017
  • I trained a recurrent neural network to play Mario Kart human-style.
    MariFlow Manual & Download: docs.google.com/document/d/1p...
    Mushroom Cup: / 183296063
    Flower Cup: / 183296268
    Star Cup: / 183296400
    SethBling Twitter: / sethbling
    SethBling Twitch: / sethbling
    SethBling Facebook: / sethbling
    SethBling Website: sethbling.com
    SethBling Shirts: sethbling.spreadshirt.com
    Suggest Ideas: / sethblingsuggestions
    Music at the end is Cipher by Kevin MacLeod
  • ИгрыИгры

Комментарии • 723

  • @purplebootsgames
    @purplebootsgames 6 лет назад +561

    Seth is trying to create a brain clone of himself so he can never really die.

    • @julianw7097
      @julianw7097 6 лет назад +23

      +purplebootsgames I'd have this at my funeral as free merchandise for fans of my brain.

    • @Odima16
      @Odima16 6 лет назад +83

      Welcome back, SethBling Reincarnation #4 here

    • @muskit_
      @muskit_ 6 лет назад +14

      SethDOS

    • @espalorp3286
      @espalorp3286 6 лет назад +18

      One day you will be able to race Seth even though he's deader than a doornail

    • @espalorp3286
      @espalorp3286 6 лет назад +6

      *THE RIDE NEVER ENDS*

  • @mushroomtaco9992
    @mushroomtaco9992 6 лет назад +436

    "What is my purpose?"
    "You try to mimick how I play in Mario Kart"
    "...Oh my god"

    • @Private27281
      @Private27281 6 лет назад +3

      mushroom taco lol

    • @Sylfa
      @Sylfa 6 лет назад +3

      Poor lil' robot

    • @albertoguijarro9290
      @albertoguijarro9290 6 лет назад +3

      That is why machines rose against mankind xD

    • @esra_erimez
      @esra_erimez 6 лет назад +9

      mushroom taco That is a whole hack of a lot better than serving butter.

    • @jessiejanson1528
      @jessiejanson1528 6 лет назад +1

      IM PICKLE RIIICK!!!!

  • @themodernshoe2466
    @themodernshoe2466 6 лет назад +289

    A year ago I watched your MarI/O video and was exposed for the first time to neural networks. It was because of watching that video that I decided to take machine learning courses at my college. I am now pursuing a career in AI. Thanks so much!

    • @dsmyify
      @dsmyify 6 лет назад +5

      The Modern Shoe ~ 👍

    • @Scerab
      @Scerab 6 лет назад +1

      Similar story for me. I was focused on game design but I am switching courses around now to fit a machine learning path.

    • @Loading-tr7yv
      @Loading-tr7yv 5 лет назад

      Rory Williams Wow, I am doing that too

  • @kodylima
    @kodylima 5 лет назад +36

    @ 3:42
    "I recorded 15 hours of training data."
    Otherwise known as playing the game. xD

    • @sontapaa11jokulainen94
      @sontapaa11jokulainen94 4 года назад

      Gotta give props to him for having the patience to play a relatively boring game for 15 h.

    • @thisflyingpotato4227
      @thisflyingpotato4227 3 года назад +1

      @@sontapaa11jokulainen94 Can be done in small increments, say 20min one day and 2h the next day maybe 30min the 3rd day etc

    • @sontapaa11jokulainen94
      @sontapaa11jokulainen94 3 года назад

      @@thisflyingpotato4227 yeah but still playing 15 h of some crappy (for todays standards) racing game is hella boring

  • @PenisGabber
    @PenisGabber 6 лет назад +342

    Quick! Someone train it on TAS data!

    • @Private27281
      @Private27281 6 лет назад +1

      Kitty40 lol

    • @Giranite
      @Giranite 6 лет назад +5

      Whats TAS

    • @MarioManTV
      @MarioManTV 6 лет назад +77

      Kitty40 you'd think it would work well, but in reality, it would be even more prone to getting confused when seeing unfamiliar situations.

    • @fejfo6559
      @fejfo6559 6 лет назад +28

      It would just memorize almost the entire tas perfectly, RNN's are very powerful structures.

    • @djpain
      @djpain 6 лет назад +8

      actually I was going to start working on something like this. I'm going to target SMB3 and see what it can learn.

  • @EnomGG
    @EnomGG 6 лет назад +3

    I've been wanting to get into neural networking just recently so a refresher video of you demonstrating some of the cool things we can do is an awesome inspiration! :D

  • @LazerLord10
    @LazerLord10 6 лет назад +468

    If you're interested in learning more about neural networks, I highly recommend looking up "3blue1brown" on youtube and watching his videos about neural networks. It made my understanding of neural networks go way up!

    • @purplegill10
      @purplegill10 6 лет назад +2

      Thanks for the recommendation!

    • @masheroz
      @masheroz 6 лет назад

      LazerLord10 we

    • @HerbaMachina
      @HerbaMachina 6 лет назад

      Same, I was just about to come down here and make my own comment suggesting the same thing.

    • @mappleo3173
      @mappleo3173 6 лет назад +6

      For more interesting projects using neural networks I also recommend carykh

    • @notquiteordinary
      @notquiteordinary 6 лет назад

      LazerLord10 thanks

  • @giantneuralnetwork
    @giantneuralnetwork 6 лет назад +632

    Wow, the trade off play idea was pure genius! Did you set it up so you could override the networks commands at any time, or have control alternate back and forth at a regular interval? I love the idea of taking control and guiding the network, like you're a master painter guiding the hand of your apprentice...... so sick!! Amazing work!

    • @SethBling
      @SethBling  6 лет назад +243

      I just had it switching at slightly random time intervals, because I didn't trust my reaction time to be fast enough to correct the errors as quickly as I wanted. So I was just always pressing the correct buttons, whether or not I had control (even though it was only recording my button presses when I was in control).

    • @no-fd6mt
      @no-fd6mt 6 лет назад +20

      +SethBling I have no idea what either of you said but ok

    • @BiscuitAWitch
      @BiscuitAWitch 6 лет назад +9

      They're talking about 4:27.

    • @ProGamer1515
      @ProGamer1515 6 лет назад +10

      SethBling Nice! So, have you ever considered DefCon? Your content could be very interesting over there.

    • @tebasak1
      @tebasak1 6 лет назад +3

      SethBling I thought that you had programmed it to relinquish inputting command when it detected input from an external controller

  • @SpacePrez
    @SpacePrez 6 лет назад +1

    Love it. Keep up the good work SethBling!

  • @IllIlIIIIIIIllIlI
    @IllIlIIIIIIIllIlI 6 лет назад +18

    Finally!!! More neural network videos! Keep it up SethBling, I love this stuff!

    • @giantneuralnetwork
      @giantneuralnetwork 6 лет назад

      Miguel Ballard Agreed! Nothing I find more interesting really... you can apply them to an endless amount of problems!

  • @HenrikoMagnifico
    @HenrikoMagnifico 6 лет назад +649

    *Dope*

  • @laserfloyd
    @laserfloyd 6 лет назад +16

    I'd be interested to see how it would react to a speed runner training it.

  • @zacpier
    @zacpier 6 лет назад +1

    this stuff is so incredibly cool! I love these videos!

  • @benperschall6648
    @benperschall6648 6 лет назад +12

    These neural network videos are so good. Please make more!

  • @dominicdabalam1466
    @dominicdabalam1466 6 лет назад +544

    ... and behind this is a bunch of command blocks!

    • @Possseidon
      @Possseidon 6 лет назад +55

      Don't forget about the armorstands

    • @yeem_lad
      @yeem_lad 6 лет назад +9

      kek he doesnt do minecraft anymore though

    • @FreeCpRareAccounts1
      @FreeCpRareAccounts1 6 лет назад +15

      and behind _that_ is an original joke

    • @pumpkin6429
      @pumpkin6429 6 лет назад +1

      Behind your comment is where you'll find a mountain of salt.

    • @brathering_tv
      @brathering_tv 6 лет назад +1

      Minecraftfan4 hes still having a Redstone channel picture though...

  • @rajkhattar2830
    @rajkhattar2830 6 лет назад +1

    That idea to switch between NN and yourself was pretty clever . I'm often impressed by your creativity man !

  • @Snowpanel
    @Snowpanel 6 лет назад +1

    Currently learning neural networks, and this is gold. Thank you !

  • @HankW
    @HankW 6 лет назад +148

    You should probably get a github page going if you want to share source code? Much better interface than google docs :)

    • @fireboltofdeath
      @fireboltofdeath 5 лет назад +5

      +orochimarujes
      You should probably take a common sense lesson?

  • @mugsrootbeer1
    @mugsrootbeer1 6 лет назад +2

    This is very cool! If you are looking for something pretty simple to try and tweak this with, adding convolutional layers prior to your LSTM layers seems tailor-made for this type of application. Chase those gold cups :)

  • @607
    @607 6 лет назад

    Cipher

  • @scares009
    @scares009 6 лет назад

    So glad you finally released the video on this!

  • @SpektralJo
    @SpektralJo 6 лет назад +457

    Good that I watched the 3blue1brown videos so I understood something!

    • @lorrdy7640
      @lorrdy7640 6 лет назад +2

      SpektralJo thx

    • @davidb5205
      @davidb5205 6 лет назад +19

      Same! I was like, "I actually know some of these words and the math behind it"

    • @redsalmon9966
      @redsalmon9966 6 лет назад +6

      Oh also the sigmoid, weight, layers, etc.

    • @sthealhawk
      @sthealhawk 6 лет назад +2

      O sht a bro

    • @JonGreenMusic
      @JonGreenMusic 6 лет назад +2

      Same

  • @Gaustos
    @Gaustos 6 лет назад

    Great work on the Skynet-Basics ! Keep on with your work

  • @christianryan1529
    @christianryan1529 5 лет назад

    So cool man! Great work!

  • @Automatik234
    @Automatik234 6 лет назад

    Your projects are so cool!

  • @gammaf8896
    @gammaf8896 6 лет назад

    This channel has had such a weird progression over the years. I love it

  • @nowayfortnite4780
    @nowayfortnite4780 6 лет назад

    Really good, I'm personally working on a number recognizer so yeah, good video!

  • @Vampier
    @Vampier 6 лет назад

    it was fun watching the videos in the background while I was working

  • @lukemoll2521
    @lukemoll2521 6 лет назад

    Thank you Seth - this is a brilliant introduction to NNs!

  • @GretgorPooper
    @GretgorPooper 6 лет назад

    Oh my, man, I love your neural network videos

  • @tbx1024
    @tbx1024 6 лет назад

    This is amazing. Well done!

  • @zachskaer6401
    @zachskaer6401 3 года назад

    Professor just used this video in our class, super cool stuff.

  • @camiloandresmaciasvargas6556
    @camiloandresmaciasvargas6556 6 лет назад

    Starting to find inspiration to get into this AI and Machine learning world. Awesome! Thanks for sharing!

  • @mikew4790
    @mikew4790 6 лет назад

    Brilliant, as always. Thanks Seth.

  • @starkaat
    @starkaat 6 лет назад

    As always this is so, so cool. lov u Seth. 👍

  • @Arcadia000
    @Arcadia000 6 лет назад

    This is freaking awesome! Subbed!

  • @Tony770jr
    @Tony770jr 6 лет назад

    Very cool, just subscribed!

  • @l-l
    @l-l 6 лет назад

    I love your content to bits.

  • @ralfschmelcher9673
    @ralfschmelcher9673 6 лет назад

    This was a great explanation! In case you want a more detailed version, 3Blue1Brown currently has a great series on that.

  • @ma271
    @ma271 6 лет назад

    Great video and great job!!!

  • @lunchbox997
    @lunchbox997 6 лет назад

    Jesus fucking christ dude, every video I see of yours is amazing. Love how smart you are my bro, keep up the good work.

  • @AllSab18
    @AllSab18 5 лет назад +1

    I have no idea what's going on, but I'm thoroughly entertained

  • @TheHiroo17
    @TheHiroo17 6 лет назад +4

    Lol you got me with Mr. Electric Mars.

  • @AlexBMJ01
    @AlexBMJ01 6 лет назад

    Amazing! Keep up the great work.

  • @TheMrgeefunker
    @TheMrgeefunker 6 лет назад +4

    I wonder how good it could get watching TAS runs

  • @dduude87
    @dduude87 6 лет назад

    nailed the guess. i was staring ay the bottom left quadrant of gameplay from the start.

  • @Vince7778
    @Vince7778 6 лет назад

    yesss another seth video

  • @hiimBawb
    @hiimBawb 6 лет назад

    Amazing. As someone who just entered the world of Machine Learning, this video motivates me to become better and better at ML until I am also capable of creating NNs that can perform tasks like this.

  • @zekeluther
    @zekeluther 6 лет назад

    lova ya work bro !

  • @Ziggy405
    @Ziggy405 6 лет назад

    Super cool video!!

  • @btarg1
    @btarg1 6 лет назад

    Holy fuck, what next, fully functioning Hal 9000 and GLaDOS? Seth, you're just making the world 1 step closer to being overtaken by robots, LOL. Loving these projects, keep up the good work! You need a patreon

  • @JordanLui
    @JordanLui 6 лет назад

    Amazing! Thanks for sharing

  • @tarquinnff3
    @tarquinnff3 6 лет назад

    And here I am just watching RUclips videos. I ain't even mad. Good job. :D

  • @GlassEyeGaming
    @GlassEyeGaming 5 лет назад

    Great stuff!

  • @albertoguijarro9290
    @albertoguijarro9290 6 лет назад

    Amazing mate

  • @martiddy
    @martiddy 6 лет назад

    I like how this channel went from Minecraft videos to neural networks videos

  • @QuippersUnited
    @QuippersUnited 6 лет назад

    Oh man, I've worked with neural networks and classification with statistical information before. Seeing stuff like this make me feel like my experience is equivalent to handing a monkey a picture of a corvette and expecting him to assemble one.

  • @FiniteEight
    @FiniteEight 6 лет назад

    That is some seriously impressive stuff.

  • @Hwangssss
    @Hwangssss 6 лет назад

    Your idea is awesome.

  • @FC-mv4hy
    @FC-mv4hy 6 лет назад +6

    I got the notification for this video as I opened youtube.
    GG

  • @MrNegaBlox
    @MrNegaBlox 6 лет назад

    so last year. I did an essay for school on using neural networks for self-driving AI. and it failed miserably. both types of networks failed to go through a basic obstacle course. Spent a month's worth of time coding.
    Now I found that every major organization + Sethbling have done it and they make it look easy.

  • @arthur_paulino
    @arthur_paulino 6 лет назад

    amazing!
    i bet the best part was actually playing and recording your gameplay.

  • @galahad6300
    @galahad6300 6 лет назад

    So instead of learning from itself MariFlow learns from you? Neat

  • @markitovtr1
    @markitovtr1 6 лет назад

    Just like giant_neural_network pointed out, I had to comment about the geniality of the trade off play. Amazing idea!

  • @miconia
    @miconia 6 лет назад

    The man is back on RUclips!

  • @Maxix423
    @Maxix423 6 лет назад

    Being in calculus now your videos make sm more sense

  • @user-jc4lt1vk2g
    @user-jc4lt1vk2g 5 лет назад

    I just love SethBling's neutral voice xD

  • @altf4thc
    @altf4thc 6 лет назад +2

    Would it be possible to train such a network with reinforcement learning instead of using recorded footage?

  • @MrAcuriteOf1337
    @MrAcuriteOf1337 2 года назад

    This video legitimately scooped a paper by a professor I was working with. "HG Dagger" uses the same idea of having a human take over control of an agent, and was published a year after this video

  • @underpowerjet
    @underpowerjet 6 лет назад

    As someone who just started learning Tensorflow. This is awesome!

  • @DaveChips
    @DaveChips 6 лет назад

    This brilliant!

  • @PseudoMystic
    @PseudoMystic 5 лет назад

    Very cool, makes me think of markov chains and cybernetic feedback.

  • @dudibs1
    @dudibs1 6 лет назад

    very nice! I am impressed.

  • @kikamonju
    @kikamonju 6 лет назад +1

    I am now enamored with the idea of having a tournament where everyone brings their own trained AI and then they compete.
    It'd be like an Amiibo tournament in SSB4, but for the Super Nintendo.

  • @popai430
    @popai430 6 лет назад

    0:11 BEST joke ever, you got my like bro !

  • @michaeletzel4877
    @michaeletzel4877 6 лет назад +1

    Did you consider using a generative adversarial network to generate more training data for the RNN? It would be interesting to compare the effect of that on the performance to the effect of using your trade off play idea.

  • @momoe7563
    @momoe7563 6 лет назад

    Great Video

  • @romannoodles5856
    @romannoodles5856 6 лет назад

    Great idea!

  • @StormageddonTMS
    @StormageddonTMS 6 лет назад

    man that was so mind boggling

  • @malirk
    @malirk 6 лет назад

    One word - *Astounding*

  • @xera5196
    @xera5196 6 лет назад

    This sounds like a class project

  • @misugijun
    @misugijun 6 лет назад

    Dude this is epic

  • @jansenart0
    @jansenart0 6 лет назад

    This is the ultimate turing test!!

  • @xanderclause9828
    @xanderclause9828 6 лет назад

    Welcome back sethbling here, today I will be curing cancer with Mario.

  • @drkaranmannan
    @drkaranmannan 5 лет назад

    Around 4:50 , how do you make such interactive sessions? Do you have a switch button that switches from the model predicting buttons to start recording training data??

  • @MEATHEADBooYA
    @MEATHEADBooYA 6 лет назад

    I know this is quite an advanced thing to ask but how would such things go with games like Doom or Duke 3d, or even the latest ones like Minecraft. Could you train NN on them as well or would it be to hard to do?

  • @thatpersonwithamlpiconwhos2861
    @thatpersonwithamlpiconwhos2861 6 лет назад

    I swear to god this man is gonna make skynet and take over the world with robots who play mario kart

  • @NickMC512
    @NickMC512 6 лет назад

    This is quite possibly the coolest shit in the entire world.

  • @Fablezzz
    @Fablezzz 6 лет назад

    Dude are you some kind of Mario supergenius?

  • @jordanc.m.6735
    @jordanc.m.6735 6 лет назад

    Definitely the best Minecraft youtuber out there

  • @baseballjustin5
    @baseballjustin5 6 лет назад

    This is actually what I was wandering

  • @kwinvdv
    @kwinvdv 6 лет назад

    What is the advantage of using memory cells instead of giving the last n frames as input instead? Is the memory cell method much less computationally expensive to learn? I would assume that using the memory cell method would also remove the need to estimating how many frames would be enough.

  • @henrystickmin3735
    @henrystickmin3735 6 лет назад

    Hey again Seth. Looks like you have another mario neural network video.

  • @ga6257
    @ga6257 6 лет назад +2

    Self driving cars are also the future of video games

  • @thesakman7
    @thesakman7 6 лет назад

    this is amazing, honestly.
    now make a neural network that can complete dark souls

  • @eashajilakar3882
    @eashajilakar3882 3 года назад

    90's : played mario for fun
    10/20's : creating an algorithm to play mario for fun

  • @KizunaAJ
    @KizunaAJ 6 лет назад

    Would this sort of neural network be applicable to more peripheral related devices? Like when a button press can make a huge difference how hard it is pressed, or how much x is tilted.

  • @Taintedglore
    @Taintedglore 6 лет назад

    Sethbling you will be the reason that the world reaches the singularity

  • @JetEriksen
    @JetEriksen 5 лет назад

    We seriously need a neural network mario kart tournament.

  • @scoutclover9572
    @scoutclover9572 6 лет назад +1

    0:57 I knew it. I put my finger to the screen when I saw him skid around like that.