Home

Awesome

LIS (Life in Silico)

=============

screenshot

Algorithm

<img width="371" alt="2016-04-08 19 00 14" src="https://cloud.githubusercontent.com/assets/1708549/14380751/2fec7856-fdbc-11e5-9ac0-17650fc74f34.png">

Algorithm Reference

Requirements

Install

Ubuntu

Install Unity experimental-build version:

wget http://download.unity3d.com/download_unity/linux/unity-editor-installer-5.3.4f1+20160317.sh
sudo sh unity-editor-installer-5.3.4f1+20160317.sh

# run Unity
./unity-editor-5.3.4f1/Editor/Unity

# if background is pink, install:
sudo apt-get install lib32stdc++6 -y

install python modules:

pip install -r python-agent/requirements.txt

Mac

Install Unity.

install python modules:

pip install -r python-agent/requirements.txt

Windows

Building simulator on Windows10 (Japanese)

Quick Start

download data:

./fetch.sh

Next, run python module as a server.

cd python-agent
python server.py

Open unity-sample-environment with Unity and load Scenes/Sample.

screenshot from 2016-04-06 18 08 31

Press Start Buttn. This will take a few minuts for loading caffe model.

screenshot from 2016-04-06 18 09 36

You can watch reward history:

cd python-agent
python plot_reward_log.py
<img width="400" alt="screenshot" src="https://cloud.githubusercontent.com/assets/1708549/14384486/46ace0b6-fdd6-11e5-86be-3eda63712ebe.png">

This graph is a "sample" scene result. It takes about 6 hours on GPU Machine.

Sample scene result movie

SampleLikesAndDislikes scene result movie

Multi Agent

This is supported only SYNC mode. ASYNC mode is not supprted.

Start multi agent server:

cd python-agent
python multi_agent.py --agent-count=2

Next, open unity-sample-environment and load Scenes/SampleMultiAgent.

You can watch reward history:

python plot_reward_log.py --log-file=reward_0.log

System Configuration

<img width="300" alt="2016-04-09 4 14 49" src="https://cloud.githubusercontent.com/assets/1708549/14394932/bbd77756-fe09-11e5-89ba-da7834c2a39e.png">

Tips

Simulate faster

Select "SceneController" in Hierarchy tab and change "Time Scale".

<img width="292" alt="2016-04-23 15 52 03" src="https://cloud.githubusercontent.com/assets/1708549/14759823/631807d0-096b-11e6-9dc9-d2cc4280aee7.png">

This will make simulation more faster, but it will be slow gui response.

Module Reference

License

Notice

If you created intelligent agents, please let me know about it to "masayoshi_nakamura@dwango.co.jp". We will make showcase varied intelligent agents.