No description, website, or topics provided.
C# Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

LIS (Life in Silico)




2016-04-08 19 00 14

Algorithm Reference


  • python 2.7



Install Unity experimental-build version:

sudo sh

# run Unity

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

install python modules:

pip install -r python-agent/requirements.txt


Install Unity.

install python modules:

pip install -r python-agent/requirements.txt


Building simulator on Windows10 (Japanese)

Quick Start

download data:


Next, run python module as a server.

cd python-agent

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


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 --agent-count=2

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

You can watch reward history:

python --log-file=reward_0.log

System Configuration

  • Client: Unity
  • Server: python module
  • Communication: Socket (WebSocket over TCP) using MessagePack

2016-04-09 4 14 49


Simulate faster

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

2016-04-23 15 52 03

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

Module Reference

  • MessagePack for Unity

  • Copyright (C) 2011-2012 Kazuki Oikawa, Kazunari Kida

  • Apache License, Version 2.0

  • Assets/Packages/msgpack-unity

  • websocket-sharp

  • Copyright (c) 2010-2016 sta.blockhead

  • The MIT License (MIT)

  • Assets/Packages/websocket-sharp



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