https://github.com/rodrigogs/ml-world
Machine learning on Unity
https://github.com/rodrigogs/ml-world
Last synced: 3 months ago
JSON representation
Machine learning on Unity
- Host: GitHub
- URL: https://github.com/rodrigogs/ml-world
- Owner: rodrigogs
- Created: 2021-07-13T03:44:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-11-12T01:02:27.000Z (8 months ago)
- Last Synced: 2025-12-27T01:39:52.861Z (6 months ago)
- Language: C#
- Homepage:
- Size: 1.45 GB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ml-world
Base Unity project ready to use with [ml-agents](https://github.com/Unity-Technologies/ml-agents).
## Instalation
#### Clone
```ps1
git clone --recurse-submodules https://github.com/rodrigogs/ml-world.git
```
Powershell
```ps1
./Scripts/setup.ps1
```
Bash
```bash
./Scripts/setup.sh
```
## Usage
#### First initialize the virtualenv
Powershell
```ps1
./.venv/Scripts/Activate.ps1
```
Bash
```bash
source ./.venv/bin/activate
```
#### Then you can train your agents
Powershell
```ps1
mlagents-learn ./Assets/Configs/sample_config.yml --run-id MyBehavior
```
Bash
```bash
mlagents-learn ./Assets/Configs/sample_config.yml --run-id MyBehavior
```
#### Or improve existent ones
Powershell
```ps1
mlagents-learn ./Assets/Configs/sample_config.yml --initialize-from MyBehavior1 --run-id MyBehavior2
```
Bash
```bash
mlagents-learn ./Assets/Configs/sample_config.yml --initialize-from MyBehavior1 --run-id MyBehavior2
```
#### Using tensorboard
```bash
tensorboard --logdir ./results
```