This video was AWESOME, so cool to see the entire process for approaching this. Would be really cool to see this for other tracks!
@aitangoАй бұрын
Hey NMeade, I’m a huge fan of your channel! Would love to work with you if ever you’re looking for a new video idea, including trying some other tracks
@haiden9170Ай бұрын
@@aitango maybe on Maple Treeway , it's is her favorite track ( if i remember correctly ) or Mario Raceway i don't remember
@aitangoАй бұрын
I’m good for either of those if he wants to :)
@Scalene17Ай бұрын
NMeade versus the ai on his big bad castle
@kazii_the_avaliАй бұрын
@@aitango ngl i would love to see maby some fanmade tracks
@Random_Guy-rm4tvАй бұрын
WERE GETTING REPLACED WITH THIS ONE 🔥
@aitangoАй бұрын
No one will stop people playing Mario Kart AI haha
@Random_Guy-rm4tvАй бұрын
@@aitango honestly it would be a cool idea if theres some CPU levels that are just a well trained ai,this would be very helpful in some games like smash bros since the cpu 9 is just broken (and broken as weird and not insanily good because it have some weird outputs)
@rembartxАй бұрын
@@aitangoare you gonna make a rocket league ai😢
@CrossyChainsawАй бұрын
@@Random_Guy-rm4tvon it
@thuyenlee8995Ай бұрын
* Wii are
@NathanWoyessaАй бұрын
This is who I thought TAS was as a kid
@alansmithee419Ай бұрын
In a way this is a TAS. It's very different from other TASes but still.
@alphamaxabel1397Ай бұрын
Same 😭🙏
@nvna111112 күн бұрын
Same lol
@masqmp3Ай бұрын
really enjoyed editing this one!
@aitangoАй бұрын
Really glad you enjoyed it, amazing job with the editing, couldn’t be more happy
@Kat21Ай бұрын
whats the song at 0:37 i think ive heard it before
@masqmp3Ай бұрын
@@Kat21 The swimming mini game on Wii Party 👍
@xiaolin867Ай бұрын
So you're the one that added the unnecessary, attention-span subtitles...
@winterispretty6464Ай бұрын
bro plays osu what a true gamer
@campbellblock3061Ай бұрын
It’s so cool to see how far the AI project has come. It’s even starting to use preliminary quickhops! But one thing that would save an enormous amount of time is timing the chain wheelies. I noticed that the wheelie input is just being spammed every other frame on straights and that seems to result in half chains every time. Timing the chain 181 frames after the first wheelie would improve this considerably on LC, and it would also help to not fill up the input file on longer tracks later down the line.
@craftyawesome6830Ай бұрын
He mentions at 7:49 that it only inputs every 2 frame, so it is possibly not wheelieing for multiple frames per chain. (in fact missing 3 frames every time if I understand correctly)
@clouds-rb9xtАй бұрын
@@craftyawesome6830Why not every frame then
@craftyawesome6830Ай бұрын
@@clouds-rb9xt Probably performance. 30hz inputs instead of 60 means half the amount of times you need to compute the inputs the AI chooses.
@clouds-rb9xtАй бұрын
@@craftyawesome6830 Need a super pc tbh
@lorenzosotroppofigo1641Ай бұрын
@@clouds-rb9xtHe already has a beast pc. Neural networks are expensive
@Loki_SRАй бұрын
Been waiting for an installment like this into this little series since the beginning. Commenting to let you know I would LOVE to see more
@aitangoАй бұрын
I’m pretty confident this won’t be my last time trial attempt :)
@aitangoАй бұрын
I’m pretty confident this won’t be my last time trial attempt :)
@LuckyHamburgerАй бұрын
Personally I would have opted to get the ai to take tighter lines by making the checkpoint reward proportionally to how close it gets to the wall. I'm not sure how feasible or useful that would actually be but I'd love to hear your thoughts.
@FuzzyJeffTheoryАй бұрын
You have to be careful introducing extra rewards, as it can lead to suboptimal behavior. The AI might slow down a lot to get as close to the wall as possible
@fishymarioАй бұрын
@@FuzzyJeffTheory is right.
@UrMumLuvsUHunАй бұрын
Your way of getting the AI to do shortcuts is really smart, it never clicked with me that it wouldn't just do that on its own
@aitangoАй бұрын
Yeah that's pretty much expectation vs reality in AI... if it can take an easier route, it almost always will
@fluffsquirrelАй бұрын
I've been so excited waiting for this! Fantastic execution and thank you for explaining your methodology!
@aitangoАй бұрын
You're very welcome, really glad you enjoyed it! I'm far from finished with time trials too
@fluffsquirrelАй бұрын
@@aitango Epic! I'm so glad, looking forward to it! Amazing work as always
@mango10152Ай бұрын
another banger! good job
@aitangoАй бұрын
Appreciate it!
@dhplaz1475Ай бұрын
The AI on the last lap drove towards the finish line with an uneven angle. It would have reached its destination faster if it went straight ahead.
@8_chips296Ай бұрын
ai: insanely good at the game logan: still somehow better
@aitangoАй бұрын
Logan is too powerful, but the gap is closing…
@greengreenanimations6 күн бұрын
Robots are controlled by humans
@itim43296 күн бұрын
Amazing, what is possible these days! Keep up the great and innovative work man.
@Known_as_The_GhostАй бұрын
These videos are so enjoyable to watch. Thank you c:
@aitangoАй бұрын
Glad you like them!
@RenardeauАй бұрын
still , now it seem possible to go beat the wr
@aitangoАй бұрын
Feels so close… one day
@BenziDKАй бұрын
your videos are much work, thx for that tho!
@aitango25 күн бұрын
Glad you like them!
@AndyLundeenАй бұрын
I'm looking forward to watching the AI mogi and clan wars after they get TTs conquered. Incredible work!
@aitangoАй бұрын
AI vs Human clan wars would be so much fun, even way harder than time trials
@rodafy9110Ай бұрын
was looking forward to seeing it develop this far. it's good enough to beat me on LC now... would be cool to see the AI eventually learn how to play online!
@GoomeyАй бұрын
This is extremely impressive wow, there is very little left to optimize at this point. The only immediate things I could think of would be a delayed drift (that way you don't have to hop to align for the back straight) and then obviously chain wheelies
@aitangoАй бұрын
Technically kind of I guess
@GoomeyАй бұрын
@@aitango I'm just nitpicking at this point, the vid is insanely well made and easy to follow, please make more! :D
@TomMKWАй бұрын
haha the ai actually learned how to do TAS hops. that is so cool.
@aitangoАй бұрын
Yeah it was really cool that it actually figured that out by itself
@aname4390Ай бұрын
Based video. Grumble Volcano no ultra sounds like a challenge.
@ace_beatonАй бұрын
Solid video mate.
@aitangoАй бұрын
Much appreciated!
@ImJustCathАй бұрын
That slick subscribe insert made me laugh and got me to, GG.~
@aitangoАй бұрын
Did it work? :)
@ImJustCathАй бұрын
@@aitango That's what I meant by "Got me" I'm in. UwO
@jaimegarcia44426 күн бұрын
As a data scientist dealing with NLP mainly, it would be amazing to see the code behind this. Is there any chance we get to see some code snippets? Congratulations for the great job!
@KlaroNebulousАй бұрын
Keep this stuff going🙏
@aitangoАй бұрын
Will do for sure!
@atomicstorm7006Ай бұрын
Is there any way you could train ai by letting it analyze other people’s inputs? For example you could let it watch the top 100 times on a course over and over and let it train that way.
@lorenzosotroppofigo1641Ай бұрын
Doesn't make any sense to train an AI on the same dataset "over and over again". Also it's a completely different model and the dataset is too small. What you are asking is so infeasible that the first time this was done with good results was like 6 months ago by OpenAI. I mean they tried before, but it wasn't that good
@llaw17624 күн бұрын
@@lorenzosotroppofigo1641imitation learning using the wr ghost seems feasible to me?
@lorenzosotroppofigo164123 күн бұрын
@@llaw176 Yeah but if you are using only one ghost it's overfitting tho, not learning 100 aren't enough either
@athehybridАй бұрын
awesome video as always!
@aitangoАй бұрын
Really grateful for the support!
@TheGamerMan64Ай бұрын
This is all really cool, any chance you could help a brother out and show me resources to learn how to do this myself? Or perhaps a video tutorial on a smaller scale?
@117jamesАй бұрын
LETS GOOOOOOOOOOOOOOO IVE BEEN WAITING FOR THIS
@aitangoАй бұрын
Good to hear you were excited!
@lucascowdenisawesomeАй бұрын
Amazing video your RL models are really great to see in action. Do u by any chance ever share your repos or have a vid walking through the basics of your code? I’m trying to learn RL more and would be great to learn through exploring it in a context/game I love
@aitangoАй бұрын
I currently haven't made the repo public, however will do once I reach 100k subs. I'm currently trying to publish the algorithm I used for this video, and if it gets published I'll for sure do a video on it
@SSLuis98Ай бұрын
This is quite impressive, huge advancements were done. I suppose you could create agents for each track so the AI would depend on them whenever it plays, this would he useful when playing against other players / cpus?
@chaoscodytvАй бұрын
Yay a new post!
@aitangoАй бұрын
:)
@binkabla4 күн бұрын
This is not AI, youre making this ghost with human intelligence
@manfredi19Ай бұрын
such a good video, keep it up
@aitangoАй бұрын
Thanks, will do!
@BOIgaming3316 күн бұрын
We’ve seen multiple wii games on this channel (don’t get me wrong, wii games were goated), but I wonder if you could make an AI for other consoles (Ex: Gamecube, N64, 3ds). Personally, I’d love to see a Mario Kart Double Dash video someday.
@サビン-w5jАй бұрын
Do you think it will be possible to teach an AI a tech track like CM or bowsers castle?
@aitangoАй бұрын
Definitely possible, the main problem would be my knowledge setting it up!
@_DxnnyАй бұрын
I have no idea how any of this works but could you get the AI to watch how the WR plays the track to copy and improve on it?
@elvsrbad2Ай бұрын
I would have liked to see if it could have found that shortcut on its own without the out of bounds area, but overall good job!
@kiunthmoАй бұрын
you could pretrain on ghost data. would be interesting to know more about how you were able to actually get the data, whether there were tricks to make it run faster, etc
@alganpokemon905Ай бұрын
great vid. the ultimate would be an agent that can play unseen tracks lol. how much compute would that take?
@aitangoАй бұрын
Glad you liked it. Would probably take ages, especially if I individually design the rewards for each track.
@alansmithee419Ай бұрын
He has tested things like unseen tracks before, but they've never been very good at them. He did however find that the AI could adapt to new tracks very quickly via further training if it had prior training on a few others.
@Khari99Ай бұрын
I believe it should be mathematically possible to calculate the minimum time between checkpoints. Then you can reward it more the closer it reaches this ideal
@sumanthmooleАй бұрын
this is so cool i want to see more
@aitangoАй бұрын
I’ll be sure to keep it coming!
@sephikirb7 күн бұрын
What if all the checkpoints were the one checking your lap progress, would the ai find some new lap skipping method on some maps ?
@DDoig1Ай бұрын
The vocal fry is crazy :D
@BillboMCАй бұрын
I’m surprised it didn’t master chain wheelies? Or is that a side effect of it not being able to input every frame?
@aitangoАй бұрын
That part was my fault, due to the way the wheelie action was programmed. Will certainly be fixed in the next video!
@29lovvanАй бұрын
Never heard more vocal fry in a commentary before
@GreenAndYellowOfficialАй бұрын
hey when can you test the ai in mario kart 7?
@aitangoАй бұрын
When I can get an emulator to work for MK7, although sadly it doesn't look too likely
@BOIgaming3316 күн бұрын
@@aitangoi mean there’s citra. it may have been taken down awhile back, but it’s still downloadable.
@preacherm4nАй бұрын
good video! now have the ai learn how to superhop lol
@aitangoАй бұрын
Thanks!! That would take quite a bit of training haha, although still possible I think
@epicawesomesauceguyАй бұрын
i love this. have you tried using continuous actions for the steering instead of 5 discrete ones? it may not be necessary but i'm curious
@aitangoАй бұрын
The method I’m using doesn’t actually allow continuous actions, however is far more sample efficient than those methods. I’m not sure how big an improvement adding more angles would actually give it, after like 7 you’d probably get diminishing returns
@ObeisantBug3808Ай бұрын
do you have the ghost for this still? I would like to race it because it beats me by .1 and that end time is about my short term goal on the track
@aitangoАй бұрын
If I remember I might post it on my discord server sometime soon
@14sirsАй бұрын
W masq moment
@CodeChrisBАй бұрын
Hey any way to get some information on what tools you used . I certainly have the skills to do so I have a degree in theoretial AI design but never touched AI gaming. Even better would be perhabs soms source code? I know thats quite a lot to ask for but any help would be appreciated. Im a retired software developer (23 yrs old lmao) and think creating an AI of my favourite mario kart would just be amazing
@mkwpatsfanАй бұрын
How did the AI learn how to quick-hop?
@aitangoАй бұрын
It taught itself through trial and error, I just gave it the controller.
@Hélène-b9tАй бұрын
I never seen such a great video!
@aitangoАй бұрын
Wow, thanks for the support!
@spacebariumАй бұрын
goddamn how did it learn to do TAS hops
@aitangoАй бұрын
Honestly no idea how it figured out how to do the optimised shortcut, really blew me away
@nobafan7515Ай бұрын
This is amazing. Do you know where i can learn how to program an ai like you did? Is there a youtube tutorial that sets this up? So far i seem to find out of date tutorials or none that tun while the agent is shown playing as the ai trains. Any help would be really appreciated.
@aitangoАй бұрын
Really glad you like it! There aren’t any tutorials yet for setting up Mario kart, but lots of reinforcement learning courses. I particularly like deep lizards courses on KZbin, and the book reinforcement learning by Sutton and Barto. Learning to use the python library gymnasium will give you an idea on how to set this up
@nobafan7515Ай бұрын
@@aitango thanks. I'll look into those.
@Ifx-Ай бұрын
is it possible to make an ai that can play any track its given, even if its never seen it before? so that instead of getting really good at one track its getting good at the game as a whole and applies that skill to any new track?
@6700adamАй бұрын
Find this so cool people like you exist
@aitangoАй бұрын
Thanks haha
@relt1554Ай бұрын
Is it faster to hop to cancel a wheelie or just cancel the wheelie via the "tilt Wii-remote back down" input?
@khirek5335Ай бұрын
They're equal but hops are more reliable and you only really stop a wheelie when you want to take a turn and start drifting anyway
@TheVoiceofTheProphetElizerКүн бұрын
I'm curious to see what this was coded in. EDIT FROM 11/10/2024 - 3:54 PM CST: Looks like Python from the code snippets.
@flambambamАй бұрын
Now I'm curious what this ai could get with shooting star. I hold the outside drift bike bkt of 1:12.108, which I think is pretty dang good for the combo.
@breezyx976Ай бұрын
What would happen if you made an AI to calculate the expected remaining time to complete the lap, based on the current state, so the main AI knows what to optimize? (I forget what this is called). Or is that what you do already?
@alansmithee419Ай бұрын
This sounds like a form of proximal policy optimisation (PPO). Have a second AI that estimates the time it will take the driver to complete the race if it performs a certain input at the current time, and then learns how good its guess was based on the actual time it takes, so it then adjusts the best input the driver should have taken, and the driver constantly adjusts to be more likely to use the move that the second AI predicts is best. Is this what you meant? He is using a form of PPO, but I believe he's using it on the reward function, rather than on "time to complete the race", as that often results in an extremely difficult learning process for the AI. This is why reward functions are used in cases like this.
@aitangoАй бұрын
All reinforcement learning algorithms learn some type of reward, however this can be based on time remaining. The algorithm I’m using is an advanced version of Rainbow DQN. This is a value-based RL method, unlike PPO which is called a policy gradient method.
@GarkadeXDАй бұрын
Let’s see your ai do n64 sherbet land glitch lol
@gloriousglider8-yt14 күн бұрын
Open source? It would help everyone! Great bot, by the way!
@aitango14 күн бұрын
I said I’d make it open source at 100k subs, however when I made that promise I thought it would happen sooner haha
@gloriousglider8-yt14 күн бұрын
@@aitango Do you mind just saying what libraries you use, please?
@14sirsАй бұрын
What are the specs on the PC that you are training your AI on?
@aitangoАй бұрын
Check out my video evolution of my Mario kart ai. In that one I go over how it all works, including the hardware I run it on
@KINGitaly6 күн бұрын
Make It play ai minecraft
@mkwpatsfanАй бұрын
Can you make the A.I time trial DK Summit next?
@aitangoАй бұрын
I’m not sure which track to do yet! Trying to get the AI to do the double cut would be fun haha
@namesurname4666Ай бұрын
I hope wiimmfi won't have AI
@WestinSmiqth24 күн бұрын
i think this wont be very probable/plausible, connecting an ai up to say an emulated controller for online play will be much harder and slower than giving direct inputs locally, so unless theres a different way most ai's would play horribly on wiimmfi due to local lag, also the non-local lag in general will also screw it up, also also the ai would probably need to learn how to aim/time items, which will be very difficult to do, so yeah, very unlikely
@samuelzackrisson8865Ай бұрын
Really interesting video. I have a quick question though how do you play multiple ghosts at the same time in tas tools?
@aitangoАй бұрын
There’s a program on dolphin called sp-mkwii.
@117jamesАй бұрын
Great! Now teach it ultra shortcuts :D
@antiantiderivativeАй бұрын
Python moment 🤩
@Esto12Ай бұрын
What did you use to be able to get the values from dolphin ram into python?
@aitangoАй бұрын
I’m using a fork of dolphin which allows me to interact with the emulator in python. Check out my video evolution of my Mario Kart AI to see more
@samuraimaster321Ай бұрын
A sense of proudness lol
@aitangoАй бұрын
It’s quite weird but it’s definitely there
@EnkiCarrillo-nl8sm4 күн бұрын
I think I am on 1:17
@lonelyPorterCHАй бұрын
Dang thats impressive :D
@aitangoАй бұрын
Thanks! Still want to get that wr though
@RazorBirdАй бұрын
Thanks!
@aitangoАй бұрын
No problem!
@tascreeperАй бұрын
that is insane.
@aitangoАй бұрын
Yeah pretty crazy, I hope one day I’ll get the world record
@ruhenot6682Ай бұрын
Very interesting video. I'd suggest to cut down on the subtitles though and only use it if you want to emphazise what youre saying. You have a very soft spoken and clear voice. Constantly having text on screen is stressful and in your case just unnecessary.. :)
@aitangoАй бұрын
Glad you liked it! Yeah might try using them slightly less and see how the videos do
@SaxofomeАй бұрын
AI or TAS.They're not similar to each other
@aitangoАй бұрын
I think world records will soon need a new category
@WestinSmiqth24 күн бұрын
kind of like how chess has a computer championship maybe one day an MKWii speedrun category will exist, i would call it "MKAii"
@bytebeamerАй бұрын
Can you make an ai to play taiko no tatsujin?
@ДаниярКадамбаевичАй бұрын
Мне кажется Или это искусственный интеллект скоро появится сингулярность где он бесконечно усовершенствовать себя в игре Mario Kart это будет безумие а потом он захватит весь мир я смотрю твоё первое видео и вначале он был таким то что ошибался в начале трассы😂😂😂😂
@ДаниярКадамбаевичАй бұрын
Те кто не знает что такое сингулярность Это такая вещь то что у искусственного интеллекта есть сингулярность а это значит он будет обучаться до бесконечности то есть усовершенствовать себя Он играет в одну игру как например Mario Kart а потом он переходит на другую игру потом создаёт своё ии потом заканчиваются все игры переходят на приложение потом на телефон потом на роботов а потом захват мира их невозможно задержать даже если вы запихнули самую защищённую во Вселенной компьютером рано или поздно он просто Придумай как выбраться из компьютера
@WestinSmiqth24 күн бұрын
maybe google translate goofed up what you said, but that was not coherent at all, what?
@CrossyChainsawАй бұрын
Read memory from the ram? How?
@aitangoАй бұрын
There’s a program called dolphin memory engine, it’s very useful
@pisiu2484Ай бұрын
What's the name of the song from 8:05?
@scruffypantz12Ай бұрын
name the AI Funky AI
@aitangoАй бұрын
Any suggestions?
@scruffypantz12Ай бұрын
@@aitango you try to beat the AI on rainbow road!!
@andy02qАй бұрын
TAS is 1:02:446. If it can't beat that using TAS tools, then not much point to it.
@noahcheng1895Ай бұрын
can it play bowser's castle?
@aitangoАй бұрын
It can play any track in theory, I just need to help designing the reward function!
@Stabidistabstab_PBPАй бұрын
Are you going to put in more rewards and penaltys or is this it?
@aitangoАй бұрын
Since posting I have a few more ideas to improve things, but that’s for next video haha
@Stabidistabstab_PBPАй бұрын
so there is a chance, pog
@Kragnar16 күн бұрын
666? I’m scared.
@Revi-j7mАй бұрын
Video starts at 8:10
@WizardOnYoutubeАй бұрын
We need to take the ai and the game and subtract the rendering so it can play many many many instances a second Run the game such that it does like 10-15 races a second and let it run for a year😊
@aitangoАй бұрын
There’s a cool project doing something similar called kinoko which is looking to reverse engineer the physics engine. My ai uses images as input though, so sadly I still need to render the image
@Dalibre18 күн бұрын
make an ai that can superhop or do ultras
@icefire48146 күн бұрын
Nice one
@jjcookierockАй бұрын
ChatGPT Kart Wii
@LLInnovAАй бұрын
tfw your pr is slower than an AI generated run :( I want to see it try all the tracks. You should also provide the ghost so we can race against the AI
@aitangoАй бұрын
It’s in my discord server if you want to try
@GrofvolkorenАй бұрын
Awesome videos, but you have a lot of vocal fry in your voice. Are you aware of that? Still a fan of what you are doing.
@aitangoАй бұрын
Sorry about that, I didn’t notice anything myself. Glad you could still enjoy it though. I’ll try and sort it out
@masqmp3Ай бұрын
hi, we used adobe's podcast ai to enhance the microphone audio. the original audio doesn't have the 'vocal fry', instead it's the podcast ai emulating a high quality studio microphone 👍
@carolinefell4505Ай бұрын
Under 30 minutes gang
@aitangoАй бұрын
Dedicated fan, much appreciated
@GuyThatCREATESRandomStuff3 күн бұрын
9:09 word mixing.
@Alo-nq1otАй бұрын
Ai does puyo puyo pls. The ones in game are not by neural network learning.