Git Product home page Git Product logo

theseus's Introduction

CircleCI License python 3.7, 3.8 pre-commit Code style: black

Theseus

A library for differentiable nonlinear optimization built on PyTorch to support constructing various problems in robotics and vision as end-to-end differentiable architectures.

The current focus is on nonlinear least squares with support for sparsity, batching, GPU, and backward modes for unrolling, truncated and implicit, and sampling based differentiation. This library is in beta with expected full release in mid 2022.

Getting Started

  • Prerequisites

    • We strongly recommend you install theseus in a venv or conda environment.
    • Theseus requires torch installation. To install for your particular CPU/CUDA configuration, follow the instructions in the PyTorch website.
    • Theseus also requires suitesparse, which you can install via:
      • sudo apt-get install libsuitesparse-dev (Ubuntu).
      • conda install -c conda-forge suitesparse (Mac).
  • Installing

    git clone https://github.com/facebookresearch/theseus.git && cd theseus
    pip install -e .
  • Running unit tests

    pytest theseus

    By default, unit tests include tests for our CUDA extensions. You can add the option -m "not cudaext" to skip them when installing without CUDA support.

  • See tutorials and examples to learn about the API and usage.

Additional Information

  • Use Github issues for questions, suggestions, and bugs.
  • See CONTRIBUTING if interested in helping out.
  • Theseus is being developed with the help of many contributors, see THANKS.

License

Theseus is MIT licensed. See the LICENSE for details.

theseus's People

Contributors

bamos avatar fantaosha avatar jeffin07 avatar luisenp avatar maurimo avatar mhmukadam avatar psodhi avatar vshobha 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.