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’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Discussion How can I set up ml-agents to train on a dedicated server with visual observations? (beginner)

Discussion in 'ML-Agents' started by maxkcy, Mar 6, 2023.

  1. maxkcy

    maxkcy

    Joined:
    Oct 11, 2021
    Posts:
    40
    I am an absolute beginner to servers, and I have never SSH'ed into one even once. Since I do not have any experiance with servers, I was hoping if someone may know how I can upload my ml-agents unity project into a server with just 1 gpu, to train the agents with visual observations.

    From what I've gathered so far, I need to run it with xvfb installed on the server.
    I also have no idea what else to install and configure (such as python, torch, ml-agents) on the server and how to run it.
    Do you know what the easiest way is to do this, is it using a docker container?
    I was hoping that all I will need to do it upload my project to the server with linux build environment, cd to the python virtual environment, activate it, and then run it with the linux build environment in a server with gpus, but that doesn't seem like the case here.