Coder Social home page Coder Social logo

ajshah91 / ltl2action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ltl2action/ltl2action

0.0 0.0 0.0 34.36 MB

This is the code repository accompanying the ICML 2021 paper LTL2Action: Generalizing LTL Instructions for Multi-Task RL (https://arxiv.org/abs/2102.06858).

Shell 0.09% Python 56.30% Jupyter Notebook 43.61%

ltl2action's Introduction

LTL2Action

This is the code repository accompanying the paper LTL2Action: Generalizing LTL Instructions for Multi-Task RL, which will appear in ICML 2021.

In the animation below, our agent's behaviour, compared to a myopic one is demonstrated on ZoneEnv, a custom environment based on OpenAI's SafetyGym:

Installation instructions

We recommend using Python 3.6 to run this code.

  1. pip install -r requirements.txt
  2. Install Spot-2.9
    • Follow the installation instructions at the link. Spot should be installed in /usr/local/lib/python3.6/site-packages/spot. This step usually takes around 20 mins.
  3. (Optional) To run the OpenAI Safety Gym, you will need Mujoco installed, as well as an active license.
    • pip install mujoco-py==2.0.2.9
    • pip install -e src/envs/safety/safety-gym/

Training Agents

Instructions for training and evaluating RL agents on each of our domains is available in the src folder.

Citation

@article{DBLP:journals/corr/abs-2102-06858,
  author    = {Pashootan Vaezipoor and
               Andrew C. Li and
               Rodrigo Toro Icarte and
               Sheila A. McIlraith},
  title     = {LTL2Action: Generalizing {LTL} Instructions for Multi-Task {RL}},
  journal   = {CoRR},
  volume    = {abs/2102.06858},
  year      = {2021},
  url       = {https://arxiv.org/abs/2102.06858},
  archivePrefix = {arXiv},
  eprint    = {2102.06858},
  timestamp = {Thu, 18 Feb 2021 15:26:00 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2102-06858.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

ltl2action's People

Contributors

andrewli77 avatar cphaddock avatar rodrigotoroicarte avatar ajshah91 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.