Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feature Request Training without Python

Discussion in 'ML-Agents' started by NeuralNotworks, Aug 3, 2023.

  1. NeuralNotworks

    NeuralNotworks

    Joined:
    Jul 22, 2023
    Posts:
    6
    Please let me know if I'm asking in the wrong channel.

    I wonder if you have considered adding a feature of training ML models inside the gameplay? AFAIK, the current ML-Agent package allows us to use Unity for virtual environments, but the training is taken care of by Python. If training is possible with only, say C#, then we can develop games in which we train our own AI's.

    Or is this already possible with some other packages?
     
  2. macsimilian

    macsimilian

    Joined:
    Sep 19, 2020
    Posts:
    19
    ML Agents uses TensorFlow under the hood. ML Agents entirely inside Unity could potentially be possible since there is a JavaScript version of TensorFlow, and Unity uses JavaScript.
     
  3. NeuralNotworks

    NeuralNotworks

    Joined:
    Jul 22, 2023
    Posts:
    6
    Thanks for the answer, macsimilian! This is indeed possible! A quick search showed that there were already people did this, such as the in-browser demo in this blog post.