GithubHelp home page GithubHelp logo

classicvalues / rl-controller-verification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uber-research/rl-controller-verification

1.0 1.0 0.0 14.67 MB

Quadcopter Verification

License: Other

Shell 0.06% Python 53.12% TeX 38.44% Makefile 0.25% Smarty 1.73% Jupyter Notebook 2.24% Dockerfile 0.19% Starlark 3.98%

rl-controller-verification's Introduction

Learning a Control for Quadcopter with Reinforcement Learning

Development environment

A docker image is provided for the code development: brzl/quadcopter:devel. The definition of the image can be found inside the folder docker. As you can see, it is based on the brezel research platform, with additional python dependencies. The first thing you need to do is build the image, which can takes a while (but you usually need to build it once for all):

make build

The commands described in the rest of this README are supposed to be run from the devel container. Enter make run to get a shell.

If you need X11 suport, use make run-x11 instead. Do xrdb -merge Xresources once in the container.

Getting started

1. Build applications

bazel build :all

Note that you will need to run bazel sync --configure in case you modify the content of folder gym-quadcopter.

2. Run the training

bazel run :training

It will read params from config_training.yaml file. Results will be available in results/experiment_DATETIME.

3. Inspect results with Tensorboard

You need to enter the Tensorboard Container (from your host) with

make tensorboard

and then run Tensorboard making it point to the experiment directory

tensorboard --logdir /results/experiment_DATETIME/runs --bind_all

4. Export Weights for Sherlock

bazel run :export

It will read params from config_export.yaml file.

The input is the model/quadcopter-{i}.pkl selected and the export is defined in the config file.

Notes

  • config_training.yaml has all hyperparameters
  • in models: the pkl checkpoints
  • in figures: all plots (rewards etc.)
  • in log: log file
  • in tests: all tests that are run with proper tags
  • config_tests contains the corresponding parameters and figures and log inside each of them

rl-controller-verification's People

Contributors

rpennec avatar

Stargazers

Classic Values 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.