Neural Network Cars and Genetic Algorithms (2/2)

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024
  • Second attempt on teaching neural networks to drive a car.
    The following features were changed:
    -Velocity is now an input for each nn car.
    -Tracks are generated randomly.
    -Max speed has been increased.
    Please refer to the first part for a detailed explanation on how it works:
    • Neural Network Cars an...
    You can find the code for this project at:
    github.com/Rea...
    Background Music by Trevor Lentz:
    opengameart.or...

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

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

    Omg I love how they zip through the turns,and then hug the wall lmao. Nns are great

  • @seven_chords
    @seven_chords 3 года назад +4

    very nice project, thanks for sharing the source as well, will probably use your base game and generate my own ai using tensorflow, also i find it really satisfying to watch neural networks evolve, great job including the joy of watching them evolve in your videos on this project.
    long term i'll probably adjust the base game and try to apply the ai to a real racing game to see what can be achieved that way (inspired by some mario kart neural network ai i stumbled upon on youtube), maybe we could connect through discord and work on that bigger project together one day

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

      Im curious about nueral nets in tensorflow for a 3d game.
      Id love to hear how you go with a real 3d based racing game.
      Im trying to create a project for an action game in 3d environment which has been very hard.

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

    That’s so nice and cool 😮 nice job 👍 :) !

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

    WOW that's wonderful !!!
    I would try this:
    - calculate the car which is leading the game (leader)
    - calculate when another car is overtook by the leader and delete it until only 10 cars will remain running
    - mix their NN genes (among random couples of these 10) up to replace 50 cars for next round
    - start a new round when "b" or "n" is pressed or automatically
    Can anybody help me with Python?
    Thanks

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

    Its very exciting! Can you do some tutorial in code, with your things about it? It will be helpful for intersted beginners.

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

    Awesome, subbed

  • @tsupi7056
    @tsupi7056 3 года назад +2

    How do they 'think'.. Do they remember which curves are ahead to maximize their speed and time?

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

      You can find an explanation here ruclips.net/video/-sg-GgoFCP0/видео.html

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

    Cool stuff

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

    thats a lot of cars.

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

    Cool

  • @jetstreamsham4968
    @jetstreamsham4968 3 года назад +3

    Interesting project,why is one car green?

    • @bananalord8575
      @bananalord8575 3 года назад +4

      Best from previous generation? The ones that passedon the "genes" maybe...

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

      @@bananalord8575 Yeah! it's explained here: ruclips.net/video/-sg-GgoFCP0/видео.html

  • @collettearthur1833
    @collettearthur1833 7 месяцев назад

    Hello, I would like to use your code for an academic project. Can I use it if I site you and youre repository?

  • @Jera-dq6ey
    @Jera-dq6ey 3 года назад +1

    You speak Spanish ?

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

      Yeah, what gave me away? lol

    • @Jera-dq6ey
      @Jera-dq6ey 3 года назад

      @@readysetpython hay algunos comentarios en español dentro del código 😂