Socket
Socket
Sign inDemoInstall

torchgeometry

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    torchgeometry

differential geometric computer vision for deep learning


Maintainers
1

Readme

.. image:: https://travis-ci.com/arraiyopensource/torchgeometry.svg?branch=master :target: https://travis-ci.com/arraiyopensource/torchgeometry

.. image:: https://codecov.io/github/arraiyopensource/torchgeometry/branch/master/graph/badge.svg :target: https://codecov.io/github/arraiyopensource/torchgeometry

.. image:: https://badge.fury.io/py/torchgeometry.svg :target: https://badge.fury.io/py/torchgeometry

.. image:: https://readthedocs.org/projects/torchgeometry/badge/?version=latest :target: https://torchgeometry.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

The PyTorch Geometry package is a geometric computer vision library for PyTorch <https://pytorch.org/>_.

It consists of a set of routines and differentiable modules to solve generic geometry computer vision problems. At its core, the package uses PyTorch as its main backend both for efficiency and to take advantage of the reverse-mode auto-differentiation to define and compute the gradient of complex functions.

Installation

From pip:

.. code:: bash

pip install torchgeometry

From source:

.. code:: bash

python setup.py install

From source using pip:

.. code:: bash

pip install git+https://github.com/arraiyopensource/torchgeometry

Quick Usage

.. code:: python

import torch import torchgeometry as tgm

x_rad = tgm.pi * torch.rand(1, 3, 3) x_deg = tgm.rad2deg(x_rad)

torch.allclose(x_rad, tgm.deg2rad(x_deg)) # True

Examples

Run our Jupyter notebooks examples <https://github.com/arraiyopensource/torchgeometry/tree/master/examples/>_ to learn to use the library.

Cite

If you are using torchgeometry in your research-related documents, it is recommended that you cite the poster.

.. code:: bash

@misc{Arraiy2018, author = {E. Riba, M. Fathollahi, W. Chaney, E. Rublee and G. Bradski} title = {torchgeometry: when PyTorch meets geometry}, booktitle = {PyTorch Developer Conference}, year = {2018}, url = {https://drive.google.com/file/d/1xiao1Xj9WzjJ08YY_nYwsthE-wxfyfhG/view?usp=sharing} }

Contributing

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us. Please, consider to read the CONTRIBUTING <https://github.com/arraiyopensource/torchgeometry/blob/master/CONTRIBUTING.rst>_ notes.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc