Skip to content

chz100p/lis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIS (Life in Silico)

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

screenshot

Algorithm

2016-04-08 19 00 14

Requirements:

  • python 2.7

Install

Ubuntu

Install Unity (experimental-build version):

wget http://download.unity3d.com/download_unity/unity-editor-installer-5.1.0f3+2015082501.sh
sudo sh unity-editor-installer-5.1.0f3+2015082501.sh

# run Unity
./unity-editor-5.1.0f3/Editor/Unity

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

install python modules:

pip install chainer
pip install ws4py
pip install cherrypy
pip install msgpack-python

Mac

Install Unity. (if you are going to use Ubuntu for GPU pwer, I reccomend install Unity 5.1.0 linux experimental-build version)

install python modules:

pip install chainer
pip install ws4py
pip install cherrypy
pip install msgpack-python

Windows

超人工生命ハッカソンに向けてWindows10マシンにpython環境を整えた

Quick Start

download data:

./fetch.sh

Next, run python module as a server.

cd python-agent
python server.py

Open unity-sample-environment in 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

screenshot

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

Sample scene result movie

SampleLikesAndDislikes scene result movie

System Configuration

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

2016-04-09 4 14 49

Tips

Simulate faster

screenshot

Set "Time Scale" to 100. This will make simulation more faster, but GUI response will be very slow. 2016-04-06 19 06 50

Algorithm Reference

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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.0%
  • Python 1.8%
  • Other 0.2%