Unity-Technologies / marathon-envs

A set of high-dimensional continuous control environments for use with Unity ML-Agents Toolkit.
Apache License 2.0
298 stars 48 forks source link

Training on ubuntu #26

Closed vivanov879 closed 4 years ago

vivanov879 commented 4 years ago

Hi. I git cloned the repo, ran via Unity SDK, and it makes back flips well. In the Training.md, it says: Download the correct version of MarathonEnvs for your platform and put it in the envs\ folder What do I download for Ubuntu and put there?

Sohojoe commented 4 years ago

@vivanov879 - you can download them from the Releases - here. I have not tested it on linux but it should work.

Note download saves you building from Unity - if you want to customize (change the animation) then you will need to build a custom version

the command line should look something like this:- mlagents-learn config/marathon_envs_config.yaml --train --env="envs/MarathonEnvs/Unity Environment.x86_64" --num-envs=10 --run-id=TerrainMarathonMan401 --env-args --spawn-env=TerrainMarathonMan-v0 --num-spawn-envs=100

See here for more on the command line for training