Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

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


    Oct 11, 2021
    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.