Coder Social home page Coder Social logo

anassinator / pddp Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 4.0 6.72 MB

WIP implementation of Probabilistic Differential Dynamic Programming in PyTorch

License: GNU General Public License v3.0

Python 17.34% Jupyter Notebook 82.66%
pddp deep-reinforcement-learning pytorch gaussian-processes bayesian-neural-networks robotics artificial-intelligence probabilistic-programming differential-dynamic-programming dynamics-models

pddp's Introduction

Probabilistic Differential Dynamic Programming

image

Probabilistic Differential Dynamic Programming (PDDP) is a data-driven, probabilistic trajectory optimization framework for systems with unknown dynamics. This is an implementation of Yunpeng Pan and Evangelos A. Theodorou's paper in PyTorch, [1].

Warning

This is a work in progress and does not work/converge as is yet.

Install

To install simply clone and run:

pip install .

You may also install the dependencies with pipenv as follows:

pipenv install

Finally, you may add this to your own application with either:

pip install 'git+https://github.com/anassinator/pddp.git#egg=pddp'
pipenv install 'git+https://github.com/anassinator/pddp.git#egg=pddp'

Usage

After installing, import as follows:

import pddp

You can see the notebooks directory for Jupyter notebooks to see how common control problems can be solved through PDDP.

Contributing

Contributions are welcome. Simply open an issue or pull request on the matter.

Testing and Benchmarking

You can run all unit tests and benchmarks through pytest as follows:

pytest

To speed things up, you may also run tests in parallel and disable benchmarks with:

pytest -n auto --benchmark-disable

You can install pytest with:

pipenv install --dev

Linting

We use YAPF for all Python formatting needs. You can auto-format your changes with the following command:

yapf --recursive --in-place --parallel .

You can install the formatter with:

pipenv install --dev

License

See LICENSE.

pddp's People

Contributors

anassinator avatar juancamilog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pddp's Issues

Not converge problem

Hi, thanks for your implement of PDDP. But when I run your code, none of them converge. Maybe because I do not give it enough time? By the way, the jupyter notebook you provided has bugs XD
Best

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.