Watch this A.I. learn to fly like Ironman

  Переглядів 364,828

Gonkee

Gonkee

Рік тому

...So reinforcement learning is kinda like telling the neural network: "look, I don’t know how to do the thing, but you try do the thing, and if you succeed i’ll give you a reward of 5 dollars." So basically like a father who failed at life and pushes his kid way too hard in an attempt to live out his dreams through his child… That got depressing.
Some music by @LAKEYINSPIRED

КОМЕНТАРІ: 722
@manselreed4191
@manselreed4191 Рік тому
Seems like adding a facing reward would help stabilize the rotation.
@LolKiller_UA
@LolKiller_UA Рік тому
I had the same thought!
@KushagraPratap
@KushagraPratap Рік тому
but he's asian, so adding a not facing punishment
@memoryman15
@memoryman15 Рік тому
I was gonna say the same thing, he should have made it hover correctly before asking it to move from point to point.
@prophangas
@prophangas Рік тому
Or a negative reward for every Spin
@elmatichos
@elmatichos Рік тому
Or maybe a directional speed through the point? So more purposeful thruster orientation gets rewarded
@redpug5042
@redpug5042 Рік тому
you should also have a negative reward for high angular velocities, that way it has a reason to be more still
@nullumamare8660
@nullumamare8660 Рік тому
Also, allow more actions than just "turn on and off the thrust of these 4 rockets". If the AI could aim the rockets (like when you paddle backwards in a canoe to turn it), it would have better control over its rotation.
@thicctapeman9997
@thicctapeman9997 Рік тому
Yeah and maybe adding a time reward so it needs to learn how to improve speed, that might cause it to do more "iron man" like flying
@redpug5042
@redpug5042 Рік тому
@@nullumamare8660 well i think it does have the ability to move each limb. It might be able to manage thrust, but i'm pretty sure it's only using limb movements.
@Jashtvorak
@Jashtvorak Рік тому
Wrists need to have thrust vectoring as well as the whole arm 🙂
@tomsterbg8130
@tomsterbg8130 11 місяців тому
@@nullumamare8660 This sounds like a good idea and I think it'd be amazing if the thrust can be throttled instead of just on and off. However the more complex a model is the bigger brain and time and resources it needs. You saw how good and stable the drone was and that's because it has the same inputs, but 4 outputs for the engines while the iron man has 4 engine outputs and rotation for each limb.
@jaceg810
@jaceg810 Рік тому
Theory on why it flies so slow: Its original training was based on hovering around one point, thus when it gets a new destination, it still assumes that it should arrive there without momentum to better stay at that spot. Then it got a little training with randomly moving spots, having momentum there is bad too, since its actually way more probable that you need to turn around than that you need to continue going. This, along with little time based punishment, results in a slower ar
@ianbryant
@ianbryant Рік тому
Yeah I would try training it with a list of like 6 points that it has to hit in order. As soon as it hits the first point, remove that point and add a new random point to the end of the list.
@morgan0
@morgan0 Рік тому
yeah also use line paths instead of dots to hit. as is the space in between would give it lower reward, so even a model that takes into account future/total reward would not like the space in between
@Delta1nToo
@Delta1nToo Рік тому
additionally i think it would benefit from having it's senses limiited and that it only knows where the target is by looking at it. if it's gonna fly like iron man it must also have the same senses as iron man
@gageparker
@gageparker Рік тому
@@Delta1nToo Yeah I think that may help the spinning as well. Should probably have some penalty points in there for too much spinning,
@Jlewismedia
@Jlewismedia Рік тому
Yep, AI doesn't have a sense of time (unless you give it one) as long as it's completing it's goals it doesn't care if it takes 1000 years
@danieltoomey1653
@danieltoomey1653 Рік тому
give it access to the next 2 points so it can find a vector between them, also give it incentive to be faster
@GAcaley321
@GAcaley321 Рік тому
Agreed it needs to be able to see beyond one point to “fly” a course.
@BigGleemRecords
@BigGleemRecords Рік тому
Lastly, give it rewards for not spinning, and negative incentives every time it spins
@bryanwoods3373
@bryanwoods3373 10 місяців тому
Spinning is only a problem because we think it is. Part of what makes these AI learning experiments interesting is how the system finds solutions without our preconceived limitations. Fixing other factors and improving the flight system could very well fix the rotation problem. Or the AI could rotate in a straight line like a bullet.
@BigGleemRecords
@BigGleemRecords 10 місяців тому
@@bryanwoods3373 that’s easy to understand but in all practicality if we were going to implement this into reality, we wouldn’t want to spin we would want to fly straight. As a simulation of iron man flying it should fly like him as well as look cool doing it. If the AI mastered its control it could easily go much quicker and precise just flying straight. It needs positive and negative flight control incentives, a clear path as well as a timer to reach its potential.
@bryanwoods3373
@bryanwoods3373 10 місяців тому
@BigGleemRecords The video isn't about implementing this into reality. If we were, we'd be using more robust systems that would have more control systems and likely build on human testing or include a human analog as part of the reward system. The spinning is the last thing you want to focus on since fixing everything else will address it.
@p529.
@p529. Рік тому
To combat the agent being slow and rotating you could add 2 other negative point rewards, every full rotation can deduct points which would likely reduce the spinning to a minimum and then also give it say 30 seconds to complete a course but deduct points for each second spent too, the agent might learn that the quicker it goes the less points he get deducted. I think revisiting this with these 2 additional criteria would be pretty interesting
@flyinggoatman
@flyinggoatman Рік тому
Can we just admire how a few years ago AI struggled to play a 2D game and now this. It's really remarkable.
@grimcity
@grimcity Рік тому
This is my first time viewing your work, and I'm struck both by how incredibly cool this is and your f'ing hilarious sense of humor. I'm always the last to know, I guess. Really fantastic work, fam.
@CasMcAss
@CasMcAss Рік тому
The whole comment section giving Gonkee suggestions knowing full well he can't be arsed to do a follow up video lmao great vid, thanks for uploading
@reendevelops
@reendevelops Рік тому
Another banger. Always love the way you use memes to make it funny!
@Drunken_Hamster
@Drunken_Hamster Рік тому
I think part of the reason it has such a hard time is because it doesn't quite have the detailed control vectors that Iron Man does. If you watch the hovering and flight scenes in the first movie, you'll see he has little compressed air nozzles, jet redirectors, and control surfaces on the boots to help stabilize. He also obviously has flaps on his back, and in later iterations of the armor he has backpack-style thrusters so his COG can be below the thrust point. If the game simulates air drag then add the flaps and stuff, too, but the minimum I think you need to add are the micro thrusters, back jets, and elbow/knee joints.
@rndmbnjmn
@rndmbnjmn 9 місяців тому
I was looking for this comment, even the clips in this video show control surfaces helping to stabilize Tony's flight.
@michaeln7381
@michaeln7381 Рік тому
You should’ve added more or less points depending on how much time they to get to the target, that’s what would fix the flight.
@nemonomen3340
@nemonomen3340 Рік тому
That's a good solution, but I'd also reward it for facing toward the target to keep it from spinning.
@michaeln7381
@michaeln7381 Рік тому
@@nemonomen3340 with those 2 things it should learn to fly perfectly… or spin at the right angle but that would be slower so that won’t happen.
@micky2be
@micky2be Рік тому
Really enjoyed your explanation and video format.
@McShavey
@McShavey 11 місяців тому
LOL every time I watch your videos I laugh at the editing. Excellent.
@EigenA
@EigenA Рік тому
Great job, a lot of room to continue developing your algorithm, but love the initiative and results are fun to watch.
@bumpybumpybumpybumpy
@bumpybumpybumpybumpy Рік тому
I'd love to see you tackle AI in a preexisting game. I dunno, throw half life at it and see what sticks.
@balls2848
@balls2848 Рік тому
Does it have the ability to throttle the jets? If not that could be the reason why it spins so much. It's the only way to stay at a constant height with constantly high uplift. (Also it stabilizes it really nicely)
@Obcybr
@Obcybr Рік тому
Came here to say this. Adding throttling would make it much more elegant
@deeplerg7913
@deeplerg7913 10 місяців тому
is it the only way? maybe you could point them in the opposite directions, that would work too
@bryanwoods3373
@bryanwoods3373 10 місяців тому
Pointing them in the opposite directions is why the model spins. The opposing forces aren't in line with each other, which will cause rotation as soon as any one moves off-center. My understanding of the flight system here is that the only options are jets on or off simultaneously. As others have suggested, adding individual velocity control would probably address much of the spin. And then letting the AI know at least two points ahead will let it plan to use trajectory for a better score.
@cookesam6
@cookesam6 Рік тому
I like these explanations bro. This is really decent content, thanks for putting in the effort with your videos
@Krixsix
@Krixsix 10 місяців тому
fr this is video is one of the best YT vids all time
@MrAmalasan
@MrAmalasan Рік тому
Your reward function could be modified to get what you want. Add in score for time, add in penalty for excessive rotations/spinning
@benjaminlines6387
@benjaminlines6387 Рік тому
Finally! Really like your videos
@CharthuliusWheezer
@CharthuliusWheezer Рік тому
Another thing that you could add to this would be random perturbations like throwing blocks at the agents so that they learn to recover from instability like the drone had at the end. Would you be willing to release the source files for the project and then do a compilation of different people's attempts at improving the result? I think the learning the actual Iron man style of flying might be possible but if you don't want to do all the work on that it could be fun to see what the community comes up with.
@reystafford9949
@reystafford9949 Рік тому
Bro you just validated a theory I've had for a long time. I'm not sure if I'm saying this right so please bare with me. All kinetic type movement is always multi layered. There is probabilistic correct-ness at every axis. Therefor it is necessary for every joint to learn to work together. You need a series of cooperating routines that all independently learn and get rewarded by a higher system. For drones it would look like a computer flying with a full flight controller managing the power at every motor with an operator that verbalizes instructions. Love your work here ( subscribed! )
@oouziii4679
@oouziii4679 Рік тому
Amazing, this is the kind of models I wanna make. Great video
@theillitistpro
@theillitistpro Рік тому
I truly like you. Subscribed.
@ChipboardDev
@ChipboardDev Рік тому
MLAPI is a blast, love it. This inspired me to (hopefully) do my next AI experiment soon.
@nogoodgod4915
@nogoodgod4915 Рік тому
After getting so many good suggestions on improving the ai, you have to make a part two now. And make it more of a challenge.
@volium1337
@volium1337 Рік тому
good having you back
@raeraeraeraeraerae
@raeraeraeraeraerae Рік тому
glad your brain cells and hairs grew back :)
@berekettaffese4940
@berekettaffese4940 Рік тому
Love the sense of humor!
@Speculiar
@Speculiar Рік тому
I had to go back and watch this three times. Hilarious!
@eldadyamin
@eldadyamin Рік тому
Amazing work! I suggest adding another training step - fastest route. Eventually, the model will fly as intended. Good luck!
@ArtamisBot
@ArtamisBot Рік тому
I would make the reward relative to the forward direction to each node to promote a flying posture and stop the spinning. If you added the next node as input as well it might be a bit better at handling its own momentum out of each node.
@lombas3185
@lombas3185 Рік тому
* proceeds to float in place facing the point without moving at all *
@yellowvr__
@yellowvr__ Рік тому
happy 100k!!!
@FraudFord
@FraudFord Рік тому
100k!!! i rlly wish you get 100k subs very soon
@rvnx1564
@rvnx1564 Рік тому
your editing skills are getting better
@rodrigorearden8906
@rodrigorearden8906 Рік тому
Big W dude. Love the Ballerina Ironman result.
@elyassaci9781
@elyassaci9781 Рік тому
Man ur so fkn funny continue like this first time I saw u and not the last
@AHSEN.
@AHSEN. Рік тому
Nice video. Are you rewarding the AI based on how fast it can get to the target? Because it you're rewarding it for staying in the air, and then a fixed reward when it hits the target, it learns to take longer. I'm sure you already know this, but this is a subject I'm rather interested in ¯\_(ツ)_/¯
@dipereira0123
@dipereira0123 Рік тому
Dude for real, you should have a premium version of you channel with the walkthrough this is the kind of content that some people like me can only dream of
@comproprasad6438
@comproprasad6438 Рік тому
Saw that you had some parameters related to velocity which I think depends on the direction. Haven't done much machine learning or 3D animation programming myself but I think you need to train it on 2 random points and optimize for speed instead of velocity and time taken to reach the destination.
@Unpug
@Unpug Рік тому
Great video :D
@programm1c
@programm1c 7 місяців тому
Try giving the Agent a huge punishment for spinning around, that may help. Keep it up! :)
@aaronb7990
@aaronb7990 11 місяців тому
All hail the algorithm 😂 great video, subscribed!
@frogringtone
@frogringtone Рік тому
thanks for making a long video :)
@astrovation3281
@astrovation3281 Рік тому
I love how there are so many comments from people that know how this works, but imo its fun to watch this
@Pillow_Princess
@Pillow_Princess Рік тому
Let it know where the next goal point is going to be after the one it's currently at disappears and add a reward for getting to the next goal faster. That way it'll learn to keep the momentum between goals instead of learning to slow down before hitting goals so it doesn't overshoot them and get punished.
@NotKotten
@NotKotten Рік тому
bro did this without even activating windows what a legend
@HansPeter-gx9ew
@HansPeter-gx9ew Рік тому
what I learned from the video that Quaternions are not good to use for training, thank you :D Btw., a negative rewardr for overall spinning velocity would help to minimize the quirky movement
@Ididor
@Ididor Рік тому
There are so many recomendations in the comments, please make a part two where you implement them cuz im curious af
@rogerayman4499
@rogerayman4499 11 місяців тому
like my boy Pontypants used to say "Epik ballerina simulator 2k", awesome btw
@admthrawnuru
@admthrawnuru 8 місяців тому
Anakin told the AI to try spinning because that's a good trick.
@GnJoe941
@GnJoe941 9 місяців тому
Tony: JARVIS I think there is something wrong with my suit... JARVIS: It's working fine Sir..
@KainMalice
@KainMalice 9 місяців тому
This is how Iron Man should fly in his next movie
@daigakunobaku273
@daigakunobaku273 Рік тому
Great video, man! Nice to see you being back for the technical stuff! I would recommend adding angular momentum with a negative factor to your loss function (with a certain unpunishable threshold and nonlinear activation) - that may fix the spinning and make your Iron Man fly more like in the movies P.S. It seems like that's what literally every commenter wrote, quite unoriginal 😅 So here's a more original proposition: make another video or two, improving this design instead of moving to a different topic! That would certainly be interesting and also more beneficial for you as a professional
@a-fletcher
@a-fletcher Рік тому
I feel like if you added additional informally like g forces from spinning and added a penalty for spinning 2 much, plus maybe a bonus for having the right way for the drone it could improve the stability. Especially for the iron Man as it was just doing a lazy, I spin 2 win technique 😂😂. Super cool video though loved it.
@kurikokaleidoscope
@kurikokaleidoscope Рік тому
Fabulous channel and style NEW SUBSCRIBER FROM JAPAN ❤
@WyrdNexus_
@WyrdNexus_ Рік тому
Maybe use radians instead of vectors for rotation? To make this effective you'll need three reward mechanics: facing, distance to point, and time. 1. Hover: (-score distance from pointA) 2. Hover: (-score distance from pointA) and Face (-score angle offset from direction to pointB) 3. Hover Time: (+score time on pointA) and Face (+score time [very close] to direction to pointB) 3. Race: Time (-score duration from start to pointA) and Face (+score time [very close] to direction to pointA) 4. Race: Time (-score duration from start to pointA then B then C) and Face (+score time to next destination point) 5. Add more and more points until you get to around 10 in one course, train them on that for several days. 6. Hover & Race: Distance (from next point), Face (offset from next point), Time (+score for time on point). Move a single point randomly every n seconds. Once they touch the point set the facing direction target randomly, until the point moves again. Now every time the point moves, they will get a high score for immediately facing the point, getting there as quick as possible, then staying there as long as possible while picking a new facing direction. 7. Bring it all together, and make another long course of 10 points or so, but remove all the rewards except completion time.
@MrAndroGaming
@MrAndroGaming Рік тому
I think adding the wrist rotation joint in the hands and ankle joints in the feet would help stabilization a lotttt if trained enough! (As a bonus give it variable thrust... The ability to control how much thrust to output from each of the boosters independently and individually... But it will require a lotttt of training too)
@ulrichbrodowsky5016
@ulrichbrodowsky5016 9 місяців тому
I think the biggest problem of iron man is that he can't see into the future. He only has the next target in mind and the way he has been trained, he wants to be ready to go into a random direction. That means having as little momentum as possible. But in reality the targets are mostly in a line. So he should know the next two targets to properly use his momentum
@SUED145
@SUED145 9 місяців тому
it must have control over the propulsion force
@casperjensen4156
@casperjensen4156 Рік тому
Wonderful informative humor😄👍
@Beatsbasteln
@Beatsbasteln Рік тому
i can see a future in which instagram- and tiktok content creators just rip off that scene of your ironman spinning around slowly through your obstacle course as a background video for their voiceover content
@Zane12ai
@Zane12ai 9 місяців тому
"no Jarvis, I'm fine."
@michaelganzer3684
@michaelganzer3684 Рік тому
This might be a good demonstration on how the heater element of my old baking oven works. Gets the job done, but only readjusts when falling under or climbing over certain temperature thresholds.
@h0ckeyman136
@h0ckeyman136 Рік тому
I love the low attention span shade and for that, a sub
@SimplyElectronicsOfficial
@SimplyElectronicsOfficial Рік тому
you should have continued the first training session until it stopped spinning
@reptileassassin7660
@reptileassassin7660 8 місяців тому
Retrain with time taken between points and add penalty for collision with stage. The network will learn that spinning makes it hard to change velocity and will correct itself. It’ll zip around like you want it to.
@schirmcharmemelone
@schirmcharmemelone Рік тому
WOW that is soo cool! please make a followup on this! i think you can make this thing go crazy wild! punish it for spinning so much and instead of training it to go to a random point train it to go for chains of points. so it can anticipate where the second next point will be instead of just being surprised where the next position will be! i like your hairline :)
@ToninFightsEntropy
@ToninFightsEntropy Рік тому
Good rant. Totally agree.
@kakalibiswas3749
@kakalibiswas3749 Рік тому
Same
@ronnienewman9891
@ronnienewman9891 Рік тому
I Have no clue how u did any of this ,but loved this video i was thinking is it possible u teach it to fly in a 2d space to stop the rotations then mirror on the other axis to try keep it facing one direction please tell me if I'm wrong
@sirsteadyeddie3478
@sirsteadyeddie3478 11 місяців тому
yo can i be honest man, I actually would want to see you go through all the equations and math. It might not be the content for this channel, but as someone new and interested in machine learning, it would be so valuable to have someone kinda walk a viewer through the system of approaching stuff like PPO. Eitehrway, I loved this video! I just discovered your channel and I immediately subscribed!
@beanman7946
@beanman7946 10 місяців тому
It’s really cool stuff-but you need a really strong base in linear algebra to follow. It would be pretty hard to explain in a video.
@starfleetau
@starfleetau Рік тому
As others have said, part of it is the physical points your taking into account, your wanting 6 degree's of freedom which means that you need to take all 6 degree's properly into account if you do not want to use heading etc because of the discontinuous number though that could have been corrected for in programming, you need to look at it in terms of relative velocities and programming it to do it's best at having certain velocities as low as possible, that's how things like the PID's etc in an Arducopter work for navigation, you take into account your standard X,Y,Z velocities but then you also have horizontal rotation velocity, pitch rotation velocity and roll rotation velocities if you don't want these to be in radians or degree's, have them in m per second or g's that gives you the ability to ask the AI to fine tune the model, the ai also really needs to be allowed to change it's positing more, it seemed in every one of those that it ended up basically becoming a ridged body, which kinda nullifies half the point of the test. and that appears to be because each thruster is always giving out a constant velocity, it's hard to tell without seeing the full code base in unity. Great project never the less love these vids.
@David-gk2ml
@David-gk2ml Рік тому
" sometimes you gotta learn to run before you can learn to walk" Ironman
@SamLeroSberg
@SamLeroSberg 11 місяців тому
Dude the edits man 😆
@clarysshow3253
@clarysshow3253 Рік тому
11:23 dude you're so true. Your words are similar to mine, we share the same knowledge , as great minds think alike Mr. Gonkee
@Dicklesberg
@Dicklesberg Рік тому
Would be really cool if you made this into a series of a few videos, where you take ideas from the comments and other ideas you come up with to improve the flying. Basically, I think the "meta answer" is to think through all the properties you would want to see in a perfect flight, and then build all of those things into the reward function. Other commenters have mentioned penalties for taking too long, penalties for excessive rotations, etc. One approach would be to compute the total "energy" used by all the rotors, and make the reward function "Gets the the destination in the least amount of time using the least amount of total energy". This would probably have a side benefit of reducing the extra rotation, since that is mostly a "waste" of energy.
@Crazyclay78YT
@Crazyclay78YT Рік тому
i think its less wasting energy and more wasting time
@HotNitrogen
@HotNitrogen Рік тому
This iron man accurately represents how my life is going
@fodderfella
@fodderfella Рік тому
seems like the rotation is so that it can use centrifugal force as a stabilization method
@geterdone4936
@geterdone4936 Рік тому
But he looks like a sped kid on a tricycle
@lmmartinez97
@lmmartinez97 9 місяців тому
Careful with ppo, sometimes the inefficiency and slowness of the training make it achieve lesser results than other alternatives like SAC.
@Ko-gy6cb
@Ko-gy6cb Рік тому
- You should add a sensor for the position of second next objective, the one right next to the current one, this way the model will be able to assess if it need to slow down or keep momentum after meeting the objective. - During training, instead of putting random point, make him follow the discrete points of a random spline or Bézier curve, looping around. It will emphasize keeping your momentum. You can event switch between both, curve and pure random, for a more resilient system. - Maybe add a speed reward too. - You could add a few neurone from output has input, this way you create some kind of short term memory for the model. Having some memory isn't such a bad thing isn't it ? Just imagine steering a car with no short term memory.
@MLGMilk
@MLGMilk Рік тому
Really cool. How are you handling in what direction the AI points its limbs? that seems really difficult to do, and is the rigging limited to the action figure-like marching movements? That could be one reason it's struggling to maintain an exact position. It's hard to tell, but are the motors thrust dynamic? Like are you passing into the model the rigid body's acceleration so it could thrust more when falling faster? Wish the video was longer so I could learn more.
@carbonyte
@carbonyte Рік тому
To fly like in the movies the suit would need to create some kind of uplift, that it obviously do not. So one feet need to keep pointing down to hover, but it is absolutly unstable. There for the AI uses spin to stabilize the position. It is really clever, and i think the only smart way to stay stable in the air. And it shows, that it would be almost impossible for a human to fly in such a suit. It would need some movable thruster attached to the hips, to perform some kind of VTOL movements. Very interesting video. Thank you a lot for this hard work!
@glennhuman6936
@glennhuman6936 10 місяців тому
You probably should added a learning phase where it learned to recover from an uncontrolled fall
@skilledthecat876
@skilledthecat876 Рік тому
Two things that would help greatly. 2. Train Iron Man to keep his eye on the ball. 1. Give his thrusters a variable throttle. He's overpowered right now, and that acceleration needs somewhere to go. That's why he's spinning so much. Spinning is a logical and efficient way to "blow off steam".
@lolcat69
@lolcat69 Рік тому
if you do something like this in the future, you could add a reward for it facing forwards, it's going to take a bit longer to train, but damm it is going to be more stable
@geterdone4936
@geterdone4936 Рік тому
You should add a style reward so he’s not spinning around like a neurodivergent fish and you should also add a speed reward so it’s not taking seven years to tickle the next ball
@ba-it3xz
@ba-it3xz Рік тому
The first 10 seconds are so majestic 🤩
@shanjoogamer3609
@shanjoogamer3609 Рік тому
If that were Tony, He'd be puking in his helmet halfway through the course.
@frostymcfrosts2831
@frostymcfrosts2831 Рік тому
Jaaj ur making videos agoin. Your such a good youtuber
@jarnehofmans5822
@jarnehofmans5822 11 місяців тому
perhaps you could add a reward based on the direction it's facing, as well as the speed of accomplishment relative to the distance? Either way, nice vid, i personally couldn't dream of coding anything 😅
@wtechboy18
@wtechboy18 10 місяців тому
spin stabilization - it makes so much sense that even AI can use it
@ivanejpg
@ivanejpg Рік тому
you could also include propulsion on\off, when it needs to go down it raises a hand and that dips it too far down bc of gravity and propulsion together, another thing could work is add lift force based on speed based on the aerodynamics formula, that could reward forward facing flying in a fast scenario
@GameGasmTrailer
@GameGasmTrailer Рік тому
I wonder what force could've been added to the suit to balance the spinning momentum. Maybe two angled thrusters on the back.
@SaltyMcSaltyPants
@SaltyMcSaltyPants Рік тому
You could try adding a time based reward (a 0 second score should be considered bad as well). A stability based reward could also help with training in the beginning 🤔
@tachrayonic2982
@tachrayonic2982 Рік тому
Scoring it based on the time taken to reach the point would theoretically encourage it to pick up the pace. Having 2 or more points, and only measuring the time at the final point might keep it from over-committing to any single point. You should have the next 2 or 3 points as inputs for the AI, so it has the opportunity to plan it's path beyond the next point. As others have said, giving more points for facing towards the path could help with spinning, although this should be lenient to factor in the body's inability to turn its head (particularly upwards). Penalizing angular velocity may be a better option, but this has it's own problems where you do want it to turn at times. I think ideally you'd want to have the head look towards an additional target, which may or may not be along the path. You could then penalize failing to do this, and use this to have additional control over the flight pattern. To make the points more lenient, you could increase the radius they detect for. To keep it from being counted early, the point doesn't count as being hit until the body starts moving away from it. Bonus points should be awarded for being close to the point when this happens, but it doesn't gain any benefit from turning around to hit a missed/overshot point.
@LrdBxRck
@LrdBxRck Рік тому
1) add thrusters to the back 2) add at least 1-10 output for each thruster 3) add negative reward to limit spinning
@EmergencyTemporalShift
@EmergencyTemporalShift Рік тому
What might improve things is to have it target the point two ahead from the closest point, that way it always wants to move forward instead of matching the points exactly.
@pureindustries1975
@pureindustries1975 Рік тому
@gonkee adding a facing reward would help stabilize the rotation nad also maybe give it sone control over the thrust control not fully like 0% - 100% but more like 50% to 100%
@moahammad1mohammad
@moahammad1mohammad Рік тому
Gonkee closer to achieving enlightenment with every video
@AlexKDev
@AlexKDev Рік тому
Doesn't get there on time, but gets there in style 😎
DESTROYING Donkey Kong with AI (Deep Reinforcement Learning)
29:46
Code Bullet
Переглядів 3,5 млн
Chaos Theory: the language of (in)stability
12:37
Gonkee
Переглядів 536 тис.
AWS IAM Users, Roles, and Policies in 5 Minutes
4:37
Building a Watermelon Carving Robot with my 200IQ big brain
8:06
DeepMind’s AI Trained For 5 Years... But Why?
9:36
Two Minute Papers
Переглядів 386 тис.
NVIDIA’s New AI Trained For 10 Years! But How? 🤺
8:07
Two Minute Papers
Переглядів 1,3 млн
AI Learns to Play Super Smash Bros
14:50
effdotsh
Переглядів 71 тис.
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Переглядів 2,5 млн
I'm Coding an Entire Physics Engine from Scratch
9:19
Gonkee
Переглядів 1,6 млн
AI Learns to DESTROY old CPUs | Mario Kart Wii
9:54
AI Tango
Переглядів 1,3 млн
AI Learns To Dominate A Virtual Market
12:13
AI Odyssey
Переглядів 255 тис.
How Stable Diffusion Works (AI Image Generation)
30:21
Gonkee
Переглядів 125 тис.
iPhone 17 Slim - НЕ ОНОВЛЮЙ iPhone в 2024 | Новини Тижня
31:12
Канал Лучкова
Переглядів 24 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 923 тис.