Coder Social home page Coder Social logo

neurips-18-prosthetics-challenge's Introduction

NeurIPS 2018: AI for Prosthetics Challenge – 3rd place solution

alt text

Attention

git clone --recursive [email protected]:scitator/neurips-18-prosthetics-challenge.git

How2run

  1. System requirements – redis and Anaconda

    sudo apt install redis-server

  2. Python requirements

    conda create -n opensim-rl -c kidzik opensim python=3.6.1
    activate opensim-rl
    source activate opensim-rl
    conda install -c conda-forge lapack git
    conda install pytorch torchvision -c pytorch
    pip install git+https://github.com/stanfordnmbl/osim-rl.git
    pip install git+https://github.com/pytorch/tnt.git@master
    pip install pyaml tensorboardX jpeg4py albumentations    
  3. Mujoco example

    For installation issues follow official guide.

    redis-server --port 12000
    export GPUS=""
    CUDA_VISIBLE_DEVICES="$GPUS" PYTHONPATH=. \
        python rl/offpolicy/scripts/run_trainer.py \
        --config=experiments/mujoco/ecritic_quantile.yml
    
    CUDA_VISIBLE_DEVICES="" PYTHONPATH=. \
        python rl/offpolicy/scripts/run_samplers.py \
        --config=experiments/mujoco/ecritic_quantile.yml
    
    CUDA_VISIBLE_DEVICE="" tensorboard \
       --logdir=./experiments/logs
  4. L2R example – ensemble training

    1. Redis

      redis-server --port 13131
    2. FC

      export GPUS=""
      CUDA_VISIBLE_DEVICES="$GPUS" PYTHONPATH=. \
          python catalyst/rl/offpolicy/scripts/run_trainer.py \
          --config=experiments/prosthetics/ecritic_quantile_fc.yml
      
      CUDA_VISIBLE_DEVICES="" PYTHONPATH=. \
          python catalyst/rl/offpolicy/scripts/run_samplers.py \
          --config=experiments/prosthetics/ecritic_quantile_fc.yml
    3. LAMA

      export GPUS=""
      CUDA_VISIBLE_DEVICES="$GPUS" PYTHONPATH=. \
          python catalyst/rl/offpolicy/scripts/run_trainer.py \
          --config=experiments/prosthetics/ecritic_quantile_lama.yml
      
      CUDA_VISIBLE_DEVICES="" PYTHONPATH=. \
          python catalyst/rl/offpolicy/scripts/run_samplers.py \
          --config=experiments/prosthetics/ecritic_quantile_lama.yml
    4. Monitoring

      CUDA_VISIBLE_DEVICE="" tensorboard \
         --logdir=./experiments/logs
  5. L2R submit test

    bash ./submit/run.sh

Additional links

Medium post

Video

neurips-18-prosthetics-challenge's People

Contributors

scitator avatar

Watchers

 avatar  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.