Тёмный

AI Learns RAINBOW ROAD 

AI Tango
Подписаться 22 тыс.
Просмотров 22 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@EbonyWolf.
@EbonyWolf. 2 года назад
Really impressive results. I wonder if through in a wide array of different tracks, will it generalize and become a full player? Could it learn to use items and play against cpu as well?
@aitango
@aitango 2 года назад
My next video will be looking to see answer many of these questions! Using items is a tough one though, as it requires an extra action for the agent, and is also so dependent on what item the AI has, compared to the other actions which generalise across all situations.
@angzarrpsyco
@angzarrpsyco Год назад
@@aitango still could come out cool if you have the ai learn the track then learn to use items somehow
@pango8143
@pango8143 Год назад
@@angzarrpsycomakes you wonder how Nintendo made COMs work
@angzarrpsyco
@angzarrpsyco Год назад
@@pango8143 true
@nathancarlisle2094
@nathancarlisle2094 4 месяца назад
@@pango8143 A fascinating question to be sure. I suspect that the COMs nintendo came up with don't actually drive like the AI in this video does. What I suspect they did is have the COMs get pulled along on a semi preset rail path with a little random variation thrown in to make it look like they are driving. I suspect item behavior is handled by a fairly standard finite state machine that chooses what to do based on current race conditions such as the place the COM is in, what item they currently have, and some other environment factors such as how many other players are around them. It's very likely just very clever smoke and mirrors that looks like driving to the player but isn't actually driving.
@sodapone
@sodapone Год назад
The first of those two corners you mentioned in around the middle of the video has been the toughest for me. The steep bank angle combined with the sharpness of the turn means that if you accidentally hit the barrier, you can easily bounce and be launched cleanly off the track.
@aitango
@aitango Год назад
I actually I have ptsd from playing worldwides when I was like 7 and falling off that corner, thus losing like 100vr
@angzarrpsyco
@angzarrpsyco Год назад
I know it would be a nightmare to code, but it would be really cool to see the AI assign a difficulty map to the course. So we can see what it "thinks" is the most difficult for it to learn
@aitango
@aitango Год назад
That would be interesting, but I'm not even sure how to go about doing it! I feel like currently the best metric for that is just how long it takes to learn the track, since it definitely takes a very different amount of time to learn different tracks. In my newest versions of this project, it can take under 20 hours to learn a track like Luigi Circuit, but potentially hundreds of hours to learn rainbow road, even with multiple starting locations
@angzarrpsyco
@angzarrpsyco Год назад
@@aitango My best idea for it would probably be having it color map it over the course where the color blocks would be put between the lap counting checkpoints. SummoningSalt's videos have a good example of what I'm talking about with the lap counting checkpoints
@YeahImRose
@YeahImRose Год назад
alternatively just pull the coordinates of where its mistakes lead to a reset and make a heatmap from that
@cozmothemagician7243
@cozmothemagician7243 11 месяцев назад
Congrats on embracing and producing what I consider a new art form. Videos such as this merge AI learning and Presentation into a unique art. Your skill, knowledge, and of course TALENT are amazing. Thank you!
@aitango
@aitango 10 месяцев назад
Thank you so much for the kind words, its really inspiring to hear!
@mr_clean575
@mr_clean575 Год назад
This was so cool! I think this was my favorite ai of all your mario kart ai's, because of how it learned to drive, not just learn the track exactly. So in some places it would drive differently if it messed up to stay on the track. Pretty cool stuff.
@aitango
@aitango Год назад
Really glad you like it! In some upcoming video I'll be sure to give the AI some more challenging tasks which don't allow it to just learn the track!
@zainepittman653
@zainepittman653 Месяц назад
3:26 I agree with you there, but I also personally struggled with the two snaking paths after the halfpipe.
@Antluvstrains
@Antluvstrains Год назад
The last turn with the boost panels was always the hardest for me.
@pokkohopper
@pokkohopper Год назад
what surprises me is that it learns how to take a low clip trick on the last ramp pretty advanced
@aitango
@aitango Год назад
It does quite a few things in unexpected order, I guess AI are just fine different things difficult
@vincenzofranchelli2201
@vincenzofranchelli2201 Год назад
speed = good means height=bad thats easier to a ai to understand than i need to turn this way to then turn this way to then not fall off
@pokkohopper
@pokkohopper Год назад
@@vincenzofranchelli2201 but sometimes u need height for cuts or even just to proceed this will confuse the AI a lot :(
@vincenzofranchelli2201
@vincenzofranchelli2201 Год назад
@@pokkohopper not at this particular section. It probably recognises what that ramp looks like and learns how to perfectly execute the low jump and since its not human precision isnt an issue. A good ai should learn different ideas for different situations
@pokkohopper
@pokkohopper Год назад
@@aitango just in case u forgor u know u can speed up dolphin by 2x right needa use that overload cpu thing that's how malleo drove backwards for 10000 laps on gv2
@gumbo64
@gumbo64 2 года назад
Yoo I just saw ur other video and subbed yesterday lol Damn this would've been especially hard since this map is like the definition of a noisy input. Also was that a low trick at 4:35 lol
@aitango
@aitango 2 года назад
Thanks for the sub! Yeah very noisy, the floor is a million different colors and there's random bits of rock floating everywhere so make things worse. Somehow yes haha
@mopwaterenjoyer8372
@mopwaterenjoyer8372 Год назад
I loooooove rainbow road in mkwii and I really think it's the peak of all rainbow roads. So many memories of being a smaller kid, playing rosalina, and doing an all out bagging strategy while my brother would actually play the track right
@aitango
@aitango Год назад
It was my favourite track when I was younger too! I remember playing it with my parents and forcing them to play on this track despite them hating it haha
@rendomstranger8698
@rendomstranger8698 Год назад
You know, I wonder how much the training would go in these types of scenarios if the ai had 2 frames to look at instead of what I presume is just one. After all, it's kind of difficult to guess the speed and direction you're going from a single frame.
@aitango
@aitango Год назад
I didn't mention it in the video, but the AI is actually given the previous 4 frames in order to infer motion, including speed and acceleration!
@deltainfinium869
@deltainfinium869 Год назад
What values does the AI have access to in each pixel? If it's just given the raw RGB, that might be hurting its performance. Giving it a brightness variable as well would probably help! On the topic of how it sees, though I'm not sure if this would count as cheating to you, it might be worth running an edge detect filter and also giving it that data in some way.
@aitango
@aitango Год назад
The AI has access to a slightly different version of the raw pixels, such that the resolution is far lower and instead of RGB the image is greyscale. This AI currently using 3 convolutional layers, which actually allows the AI to learn its own edge detection
@professoryorick5676
@professoryorick5676 Год назад
the rainbow road fast staff ghost was by far the hardest for me, however, i managed to beat it with the flame runner equivalent kart (cant remember name but funkys is green with flames) hardest part imo is moonjump/that jump cut after the figure 8 section
@Sarnahanfi
@Sarnahanfi Год назад
bitrate of this video is messed up.. wtf youtube :(
@gray525
@gray525 Год назад
this is really cool, you should try other hard courses
@aitango
@aitango Год назад
Thanks! I enjoy doing the hard courses, although they do take a long time to train so I have to beware
@kellamyoshikage286
@kellamyoshikage286 Год назад
What is the largest time/resource cost during training, the machine learning processing or the emulation of MKWii used for input and reward?
@aitango
@aitango Год назад
Currently the bottleneck is the frame capturing / image processing. This is pretty unique as I had to find a way to allow my code to interact with dolphin
@birchy188
@birchy188 Год назад
@@aitango Do you have intentions to share more of the technical details of this project regarding interfacing with dolphin etc? (Perhaps open sourcing at some point?) Would be very interesting to read.
@omegahaxors9-11
@omegahaxors9-11 Год назад
You can see it drives off a corners because it thinks there's a sexy boost panel on the walls, but that's only true some of the time. It's also funny trying to see it go for a path that it doesn't have access to because it would be a faster path if it could.
@omegahaxors9-11
@omegahaxors9-11 Год назад
I guess you could say that it trainbow on the rainbow.
@JayCross454
@JayCross454 11 месяцев назад
Do you only train AI on wii games? Would love to see an AI play rainbow six and complete a hostage situation against the bots.
@aitango
@aitango 10 месяцев назад
I've typically stuck to Wii games since I have a setup which can run pretty much any Wii game. Maybe at some point I'll have a look at games on other platforms, but it would probably take me weeks or months to get initially setup!
@ibexl8631
@ibexl8631 Год назад
This is super interesting. Is the code open source anywhere for us to try out ourselves?
@WhiteVampire888
@WhiteVampire888 Год назад
i have no idea about how exactly this stuff works but would it be possible to tell the AI to "stop learning by trying" and to "play it safe" at some point to make him complete a lap without crashing? cause as i understand it the AI trys to constantly find ways to go faster and therefore sometimes try things that dont work even though it already learned inputs that do work for a certain part.
@bunnymoth7794
@bunnymoth7794 Год назад
It might not have been done in this video, but in the new one with CPUs, it's explained that different things have different weight values for reward or punishment. At one point during that one, the AI started finishing the laps the long way instead of only going for the shortcut before figuring out the shortcut completely.
@josephhorton5311
@josephhorton5311 Год назад
You should try and get it to do the bc3 cuts 🤣
@aitango
@aitango Год назад
Would be very cool, might require like 1000 training though haha
@roshi6516
@roshi6516 Год назад
Now train the AI to win a worldwide race
@aname4390
@aname4390 Год назад
Would probably have to be a private room to not get banned.
@aitango
@aitango Год назад
Yeah I feel like they wouldn't appreciate me filling their rooms with bots haha
@ididntknowicouldchangemyna9482
Whats the name of the first song please?
@maxtech66999
@maxtech66999 Год назад
Can you try it with the newer model now ??
@aitango
@aitango Год назад
I doubt I'll make a dedicated video on just this track, but I'm sure hoping to have an AI play on Rainbow road again amongst other tracks!
@virtualfg
@virtualfg Год назад
PLEASE, MAKE A VIDEO UNLEASHING THIS AI ONTO AN ONLINE GAME
@aitango
@aitango Год назад
It’s a very difficult task, but one I am definitely working towards!
@glitter_fart
@glitter_fart Год назад
you train the ai wrong
@YoshiplayerX
@YoshiplayerX Год назад
Explain smart guy
@curlybrace4984
@curlybrace4984 Год назад
2:56 It really looks like your way of training the AI as shown in the previous video is inherently flawed; using merely graphics and nothing else, as well as overlaying lines to "reward" the AI on the map, the moment the track overlaps with itself, the AI gets confused, as seen here. Really hope this is solved in future tests.
@aitango
@aitango Год назад
Using graphics and nothing else wasn’t a problem, but the rewards definitely was. I’m my future videos I explore many different better rewards
@curlybrace4984
@curlybrace4984 Год назад
@@aitango Ahhh, okay. I'll check them out at some point then.
@kumoko3728
@kumoko3728 Год назад
For me the hardest part was definitely the 1st corner and the chicane after the circles (I was a kart main)
@zainepittman653
@zainepittman653 Месяц назад
Is that actually how it's spelled? I'd always ever heard the word before, but never seen it spelled.
@milesnotails
@milesnotails Год назад
I wanna see the AI compete with it’s ghost
Далее
This AI went WILD
12:41
Просмотров 45 тыс.
AI Learns LASER HOCKEY
10:01
Просмотров 19 тыс.
AI Learns To Master Mario Kart Wii
8:03
Просмотров 5 тыс.
Mario Bros is too easy for INSANE AI
10:45
Просмотров 129 тыс.