Jump to content

abhibp1993

Community Newbie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by abhibp1993

  1. On 12/16/2018 at 3:25 PM, ramtzok1 said:

    Our main idea is to develop machine-learning capabilities within the AI in the game. To do so, we are planning to use a work environment (probably TensorFlow) that works with python. Therefore, we need to find a way to connect our ML code that will be written in python with the AI files that are written in JavaScript. So far, we have been offered to use interfaces that are already found in the game code in C++, write the data that we need to a file that we can use ML on, and calling the JavaScript functions using python server in a way that could make us access the valuable API. We have also been offered TensorFlow.js, but unfortunately it turns out that the mathematical libraries essential to ML are not included with it. 

    1
    1

    How about binding some necessary  C++ functions in python using Boost.Python? For instance, tensorFlow has C++ API. Hence, the key functionality can be written in C++, and the user functions for extending/writing AI can be exposed in Python.   

     

    (It's only been 2 days since I started looking at the code, so I cannot comment on the feasibility of this, but I didn't see this option mentioned above.)

×
×
  • Create New...