Giter VIP home page Giter VIP logo

deepmimic-cloud-installation's Introduction

DeepMimic Installation in Google Cloud (takes 10 minutes !!)

The purpose of this repository is to help students of MVA master install DeepMimic and run tests as fast as possible. We actually lost several days attempting to make these installations. I hope it wouldn't be the case for you.

We will be using Google cloud Virtual Machines.

Note that there are two parts in DeepMimic :

  • First, visualising the results
  • Second, launching trainings

We will show only how to launch trainings which is the most important part of the project. One advice, start testing trainings early !! it takes minimum 24 hours for each test.

Create a Google cloud Virtual Machine

  • Go to Compute Engine / VM Instances
  • Create a new VM
  • Choose a VM with 16vCPU
  • Choose Ubuntu 16.04 LTS

DeepMimic Installations (just copy and paste)

  • Clone the repository
git clone https://github.com/hamzakabbaj/DeepMimic_Cloud_Installation.git
  • install packages
sudo apt-get update
sudo apt-get install cmake build-essential clang llvm python-dev freeglut3-dev libbullet-dev libbullet-extras-dev  libglew-dev swig libopenmpi-dev  python3-pip
  • install virtualenv
pip3 install virtualenv
  • Create a virtual environement and activate it (working with a virtual environment is necessary)
virtualenv env_deep_mimic
source env_deep_mimic/bin/activate
  • install python packages
pip install pyopengl mpi4py tensorflow numpy
  • install requirements
cd DeepMimic_Cloud_Installation/DeepMimic
pip install -r requirements.txt
  • change Makefile and install DeepMimicCore
cd DeepMimicCore
vi Makefile
# DONT FORGET TO CHANGE EIGEN PATH !!!!!
EIGEN_DIR = /home/<Name of your machine>/DeepMimic_Cloud_Installation/eigen # <=== look for the actual path depending on the name of your machine
BULLET_INC_DIR = /usr/include/bullet 

PYTHON_INC = /usr/include/python3.5m
PYTHON_LIB = /usr/lib/ -lpython3.5m
  • launch DeepMimicCore installation :
make python
  • CONGRATULATION !! You can now launch training
cd ../
python mpi_run.py --arg_file args/train_humanoid3d_kick_args.txt --num_workers 16

deepmimic-cloud-installation's People

Contributors

hamzakabbaj avatar

Stargazers

 avatar Raffaello Camoriano avatar zong avatar

Watchers

 avatar

Forkers

r-ceph

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.