Skip to content

Latest commit

 

History

History
50 lines (47 loc) · 995 Bytes

README.md

File metadata and controls

50 lines (47 loc) · 995 Bytes

ml-world

Base Unity project ready to use with ml-agents.

Instalation

Clone

git clone --recurse-submodules https://github.com/rodrigogs/ml-world.git

Powershell

./Scripts/setup.ps1

Bash

./Scripts/setup.sh

Usage

First initialize the virtualenv

Powershell

./.venv/Scripts/Activate.ps1

Bash

source ./.venv/bin/activate

Then you can train your agents

Powershell

mlagents-learn ./Assets/Configs/sample_config.yml --run-id MyBehavior

Bash

mlagents-learn ./Assets/Configs/sample_config.yml --run-id MyBehavior

Or improve existent ones

Powershell

mlagents-learn ./Assets/Configs/sample_config.yml --initialize-from MyBehavior1 --run-id MyBehavior2

Bash

mlagents-learn ./Assets/Configs/sample_config.yml --initialize-from MyBehavior1 --run-id MyBehavior2

Using tensorboard

tensorboard --logdir ./results