Nebol's Coding
Nebol's Coding
  • 2
  • 3 697 996
Neural network racing cars around a track
Teaching a neural network to drive a car. It's a simple network with a fixed number of hidden nodes (no NEAT), and no bias. Yet it manages to drive the cars fast and safe after just a few generations. Population is 650. The network evolves through random mutation (no cross-breeding). Fitness evaluation is currently done manually as explained in the video.
Car picture by Unlucky Studio:
unluckystudio.com/game-art-giveaway-7-top-down-vehicles-sprites-pack/
Track background created by Keely for Quickrally and modified a bit:
www.reddit.com/r/gamedev/comments/jhgvt/screenshot_saturday_26_show_me_some_screens/
Background music by Trevor Lentz:
opengameart.org/users/trevor-lentz
Coding by Johan Eliasson in 2019.
zhlédnutí: 3 693 032

Video

NebolAsteroids 2016-11-23
zhlédnutí 5KPřed 6 lety
A short clip from an Asteroids game I made. I got bored and didn't finish it, of course....

Komentáře

  • @fearraven7942
    @fearraven7942 Před 7 měsíci

    Please don’t waste my time by uploading this. I would really have to strain to find a video less interesting than this. Granted, i’ve only watched 10 seconds of it.

  • @0tuken982
    @0tuken982 Před rokem

    just like how i was born tbh

  • @dassbear
    @dassbear Před rokem

    last video 4 years ago?? lol

  • @luxylovesmozzarella

    this is like cary huangs game

  • @JoJo777890
    @JoJo777890 Před rokem

    What program language did you use in this project?

  • @chevestphen1118
    @chevestphen1118 Před rokem

    It would be interesting to see how the final neural network would work around car collision.

  • @Gral_meymun
    @Gral_meymun Před rokem

    Gerizekalı

  • @Gral_meymun
    @Gral_meymun Před rokem

    Noob IQ -0000000000000000000000000

  • @user-ps4bp1ml2g
    @user-ps4bp1ml2g Před rokem

    For the sim racers reading....it the the optimum racing line?

  • @freefirelovers8881
    @freefirelovers8881 Před 2 lety

    Bro I subscribe u r channel

  • @redonsundays
    @redonsundays Před 2 lety

    "Looks like Gen 4 will finish a whole lap..." while 3 of the 4 parents from gen 3 are shown finishing a lap

  • @lookupverazhou8599
    @lookupverazhou8599 Před 2 lety

    Is it new to have npcs that can race around a track?

  • @ritwickjha3954
    @ritwickjha3954 Před 2 lety

    this is great. any idea where to learn bioinspired AI? especially projects like these

  • @ayushmishra6077
    @ayushmishra6077 Před 2 lety

    WHy do they look like ants

  • @truemori6700
    @truemori6700 Před 2 lety

    for fitness, you could set up multiple "checkpoints" and the more crossed the more fitness. If cars go backward you could subtract points.

  • @KlinovAS
    @KlinovAS Před 2 lety

    The neural network has one big unresolved issue. We want randomness to bring order, but each time we add up to 10% chaos to the gene to modify it. This means that we do not improve the situation 100%, but hope for chance and at the same time we spend time on simulations. At the same time, I have no use for computer logic, which is familiar to us, because only mathematics reigns here. This is the problem that we have gone beyond elementary logic, we have abandoned optimization, cutting off unnecessary actions, speeding up the result, and so on. We are happy with the way of the 1970s, and we have to make our own intelligence in 2022 times times better than the 70s

  • @TheThunderSpirit
    @TheThunderSpirit Před 2 lety

    bg music is v.good

  • @mohammedcementwala5657

    How long did it take you to make this model?

  • @Henzfold455
    @Henzfold455 Před 2 lety

    name of the game?

  • @suprafluid3661
    @suprafluid3661 Před 2 lety

    Why does this garbige show up when I need something real to show at work.

  • @ujjawalmodanwal5151
    @ujjawalmodanwal5151 Před 2 lety

    I am very much fascinated by reinforcement learning and it's applications. Though I am not a CS student but I do want to work in this field. I have done some Deep Q learning projects using gym environment. I am wondering how can I make these kind of environments at my own. What tools, language do I need. I am just asking for creating the environment like cars, racetracks sensors etc. Can someone help me with it?

  • @ahmadnmf
    @ahmadnmf Před 2 lety

    Awesome works

  • @Cheng32290
    @Cheng32290 Před 2 lety

    Hi, what subjects should I learn to do this?

  • @johncarcher
    @johncarcher Před 2 lety

    Do you have a github repsiratory for this program?

  • @aulalivre5481
    @aulalivre5481 Před 3 lety

    Infinite race!

  • @asdfasdfasdf383
    @asdfasdfasdf383 Před 3 lety

    You are an inspiration. One day, I will code this.

  • @charlesdarwin7647
    @charlesdarwin7647 Před 3 lety

    Man, that's hilarious!

  • @LeFreshmeat
    @LeFreshmeat Před 3 lety

    For those wondering, the music used is Hero Immortal, by Trevor Lentz.

  • @gridmeter2571
    @gridmeter2571 Před 3 lety

    Plot for Cars 4

  • @draudejolubmara9700
    @draudejolubmara9700 Před 3 lety

    this is unn😤😤😤😤😤

  • @suhebpapa07
    @suhebpapa07 Před 3 lety

    After seeing this my mind telling go Fucking study ... It's really awesome dude 🔥

  • @xavierkorir2580
    @xavierkorir2580 Před 3 lety

    Software his using?

  • @r0bl0r14
    @r0bl0r14 Před 3 lety

    Can someone please make a sandbox game with procedural self learning npcs like this? If the game automatically singled out the behavior-patterns that scores the highest by it self like an "AI" (to keep it simple) it would be interesting what sort of gameplay that could be integrated with it. Imagine dwarf-fortress and the dwarves were learning.

  • @kokomrade2541
    @kokomrade2541 Před 3 lety

    The music is a bop

  • @otrocanalmas8096
    @otrocanalmas8096 Před 3 lety

    how do you do that ??????? do you have any tutorial ?

  • @Molas0
    @Molas0 Před 3 lety

    you just explained how AI works !!

  • @codedemon6697
    @codedemon6697 Před 3 lety

    ayo can you give me source code for those brains please

  • @karlm7592
    @karlm7592 Před 3 lety

    Inbreed enough and youll get a genius

  • @lokthar6314
    @lokthar6314 Před 3 lety

    Car going backwards: "Nope don't wanna live in this world"

  • @HOID365
    @HOID365 Před 3 lety

    Whats your computer's specs?

  • @FemtoTheFox
    @FemtoTheFox Před 3 lety

    Holy shit, the track from that game... i played that game on my shitty laptop like 7 years ago :(( I've wanted to find that game for years so i give you my thankyou for finding it

  • @osmankhalid2005
    @osmankhalid2005 Před 3 lety

    May I know the simulator please.

  • @isimyok5848
    @isimyok5848 Před 3 lety

    Source code ?

  • @amp08021
    @amp08021 Před 3 lety

    I think it would be super interesting to make the fitness based on how far they come (obviously) but also take speed into account

  • @gdgd5194
    @gdgd5194 Před 3 lety

    CS16 had a really interesting single player bots that could improve the more they played (supposedly). Now imagine other games where AI can actually improve just as you do... Insane opportunities. No more stupid "easy - normal -hard -death march" with fake difficulty by giving stupid ai cheats.

  • @bitesizeinsight2840
    @bitesizeinsight2840 Před 3 lety

    czcams.com/video/KuEvW4-lxKQ/video.html Guys do watch this video and please give your precious feedback