BeamNG as a machine learning testbed?

Discussion in 'Content Creation' started by cireneikual, Jun 4, 2015.

  1. cireneikual

    cireneikual
    Expand Collapse

    Joined:
    Jun 4, 2015
    Messages:
    1
    Hello everyone,

    I have a rather unusual idea.

    I have been looking for a good demo for some machine learning (reinforcement learning) algorithms, and being a gamer as well, I found BeamNG drive on steam and saw that it has extensive modding support.

    Racing games are a good test for reinforcement learning algorithms, but there do not exist many simulators with enough flexibility to test the algorithms. TORCS is an option, but it is very old. I looked into Assetto Corsa as well, but the modding support there is limited.

    How feasible is this? How difficult is it to send and receive data between BeamNG and an external artificial intelligence program? I would like to use sockets if possible, so I can use multiple machines if necessary.

    I am mostly interested in vision data, so it would likely require access to the render targets BeamNG uses.

    Are there any experienced users around here that could point me in the right direction, or tell me that what I am asking for is not feasible? ;)

    Regards,
    CireNeikual
     
  2. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,099
    Welcome to the forum :) Bng is a very Hardware hungry game. Using multiple PCs is a Small Problem cause bng just Supports 1 GPU and only 1 CPU. So having multiple PCs could be a Bit different.

    Enjoy your stay
     
  3. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    awesome :)

    We have everything you need: Lua in which you can script the interaction with your program and luasocket to do the actual communication should work well :)

    If you have any more questions or need help, just write me a PM on here.
     
  4. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    Wrong and wrong.

    SLI and Crossfire, while a tad dodgy with Torque, do work. 2, 3 or even 4 GPU with beamNG right there.

    Only 1 CPU? Nope. While performance was lower than expected, way back someone posted a thread about BeamNG on their professional workstation PC. A twin Xeon rig. Was a thread about lag issues actually, but the xeon wasnt clocked high and has a deeper pipeline unsuitable for gaming. But its still twin CPU which BeamNG will interact with. Windows is actually what controls which threads are run on which cores and windows will happily throw threads between multiple CPUs where present. A single thread cant be executed on multiple cores though and a single vehicle is run as a single thread.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice