Skip to content

rodrigogs/ml-world

Repository files navigation

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

About

Machine learning on Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published