GithubHelp home page GithubHelp logo

oracle-force-optimizer's Introduction

Environment Identification

This repository collects the work conducted by a collaboration between UniSa, PoliMi and IDSIA. The repository is thought for students with the aim to provide an environment for the development of master theses projects and some research activities.

Getting Started

This section explains how to setup the environment needed to launch the demos. First, MuJoCo needs to be installed, then some preliminary packages are required for the virtual environment creation.

Install MuJoCo 2.1.0

In order to install MuJoCo you need to:

  1. Create a hidden folder:

    cd
    mkdir .mujoco
  2. Download MuJoCo library

    cd .mujoco
    wget https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz
  3. Extract the MuJoCo downloaded library into the hidden folder .mujoco

    tar -xf mujoco210-linux-x86_64.tar.gz -C .
    rm mujoco210-linux-x86_64.tar.gz
  4. Add these lines to the .bashrc file:

    export LD_LIBRARY_PATH=$HOME/username/.mujoco/mujoco210/bin #substitute username with your username
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia #if nvidia graphic
    export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so
    export PATH="$LD_LIBRARY_PATH:$PATH"
  5. Source the .bashrc file:

    cd
    source .bashrc
  6. Test the installation:

    cd ~/.mujoco/mujoco210/bin
    ./simulate ../model/humanoid.xml

Prerequisites

You will need Pip for the virtual environment packages installation, venv for the virtual environment and some other packages as prerequisites for Mujoco-Py. sudo can be needed for some installations.

  • Pip

    apt install pip
    
  • Packages needed for Mujoco-Py

    apt install libosmesa6-dev libgl1-mesa-glx libglfw3
    apt install patchelf gcc
    apt install python3-dev build-essential libssl-dev libffi-dev libxml2-dev
    apt install libxslt1-dev zlib1g-dev libglew-dev
    
  • Python-venv

    apt install python3.8-venv
    

Setting up the virtual environment

Create a venv and activate it

python3 -m venv venv
source venv/bin/activate

Install via pip the required packages into the virtual environment

python3 -m pip install -r requirements.txt

Clone environment_identification

Clone environment_identification repository

cd
git clone https://bitbucket.org/unisa-polimi-idsia/environment_identification/

Usage

Refer to the Readme.md in the Main folder.

Authors

Contributors

Master students

Back to top

oracle-force-optimizer's People

Contributors

dopamine-97 avatar lucapuri avatar v8p1197 avatar

Watchers

 avatar

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.