Code Monkey home page Code Monkey logo

babyai_sr's Introduction

BabyAI S/R

This is a package that uses BabyAI in a sender/receiver setup.

Installation

First, install this BabyAI fork and the corresponding MiniGrid fork, which ease compatibility. (If you’re feeling lucky, you can instead try installing the original BabyAI repo (and the corresponding original MiniGrid repo).)

Then, clone this repository and install it with pip3:

git clone https://github.com/thomasaunger/babyai_sr.git
cd babyai_sr
pip3 install --editable .

In order to use the plotting and visualization scripts as is, you’ll also need to install LaTeX.

Usage

This package is organized similarly to the original BabyAI repo. Models can be trained using scripts/train_rl.py.

The resulting models can be tested using scripts/test_rl.py, which also saves the episode data to an NPY file, which in turn can be visualized using the vis scripts.

The learning curves as described by the log files can be plotted using scripts/plot_curves.py.

babyai_sr's People

Contributors

thomasaunger avatar brendon-boldt 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.