Skip to content

Instantly share code, notes, and snippets.

@haje01
Last active December 7, 2017 12:39
Show Gist options
  • Save haje01/8a854fc0ccfa6f742c3021345a1cf528 to your computer and use it in GitHub Desktop.
Save haje01/8a854fc0ccfa6f742c3021345a1cf528 to your computer and use it in GitHub Desktop.
DeepMind Lab 설치

DeepMind Lab 설치

호스트가 Linux가 아닌 경우 VM 셋팅

  1. VirtualBox 설치
  2. Ubuntu 개발자용 Desktop 받기 https://www.ubuntu.com/download/desktop
  3. VirtualBox에서 가상머신을 만들고 시작
  4. 받아둔 Ubuntu .ISO를 지정

설치

Bazel 설치

http://bazel.io/docs/install.html 참고

관련 패키지 설치

sudo apt install python-dev
sudo apt install liblua5.1-0-dev
sudo apt install libffi-dev
sudo apt install libsdl2-dev
sudo apt install python-pip
sudo pip install numpy
sudo ln - s /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy/ /usr/local/include
sudo apt-get install libosmesa6-dev

DeepMind Lab 설치

git clone https://github.com/deepmind/lab
cd lab

random agent 실행

bazel run :random_agent --define headless=false -- --length=10000 --width=640 --height=480

play as human

bazel run :game -- --level_script tests/demo_map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment