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 id.unity.com 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.

Confusing Installation Instructions For Windows

Discussion in 'ML-Agents' started by superjayman, Feb 7, 2020.

  1. superjayman

    superjayman

    Joined:
    May 31, 2013
    Posts:
    185
    Can someone outline the exact steps to do a fresh install ml-agents for windows (Everything required to get the ml-agents project running)?

    The documentation says '
    Installing ML-Agents Toolkit for Windows (Deprecated)'

    but in this threat https://github.com/Unity-Technologies/ml-agents/issues/3208 it's saying we should follow the deprecated instructions? Also, do we still have to install Tensorflow Sharp? How about anaconda?

    If windows install method page is useless , how about install instructions for GPU accelerated requiremets?

    Clarify The Steps, to clean up the confusion. STEP BY STEP INSTRUCTION PLEASE..
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,843
    Hello @superjayman - have you attempted to install the toolkit yet and encountered any issues?
     
  3. caioc2

    caioc2

    Joined:
    May 11, 2018
    Posts:
    8
    Simplest way of doing it is:
    1. Install anaconda
    2. Install ml-agents
    3. run
      conda install -c anaconda tensorflow-gpu
      , it will install everything needed to run with GPU

    To install ML-Agents
    "From the repo's main directory, now run:"
    Code (csharp):
    1. cd ml-agents-envs
    2. pip install -e .
    3. cd ..
    4. cd ml-agents
    5. pip install -e .
    6.  
     
  4. harpj

    harpj

    Unity Technologies

    Joined:
    Jun 20, 2017
    Posts:
    6
    Hi @superjayman -- the installation guide is meant to be for Windows, Mac, and Linux. The intent of this guide is that you set up a virtual environment within which you install ML-Agents. The only requirements for these setup instructions are python / pip and git.

    Using the latest versions of Tensorflow, if you have an NVIDIA CUDA-enabled GPU and have CUDA installed there are no additional steps required. At this time we don't have a guide for setting up CUDA.
     
  5. superjayman

    superjayman

    Joined:
    May 31, 2013
    Posts:
    185
    It would be great if in the future Python dependency can be removed! all together.
     
  6. asa989

    asa989

    Joined:
    Dec 18, 2015
    Posts:
    52
    I am using win10 and py3.7. when i run pip3 install mlagents i get "the term 'pip3' is not recognized"! when i type py then python runs without any problem. can someone plz tell me why im getting error for pip3 install mlagents?