Skip to main content

Running paritial difference equations (PDEs) on graphs

Project description

Torch_pdegraph

Torch_pdegraph is a proof of concept that how one can solve PDEs (partial difference equations) on graphs using the Message Passing class of torch_geometric and hence also befits from the hardware acceleration. See the presentation.

What is a PDE on a graph?

The basic idea is that one can define the operators like, derivatives, gradients, laplacians on graphs and construct a PDE inspired from nature on graphs. To know more about PDEs on graph.

  • See the publications of Elmoataz.
  • See also their applications on pointclouds
  • Classical PDEs on images by Guillermo Sapiro
  • Be sure to see the jupyter-notebooks in the applications/ folder presenting few of their applications.
  • Ref to operator_calculus.md for a brisk intro to calculus on graphs.

Installation

First install the torch_geometric. Then one can clone this project and install it locally:

pip install .

Or do:

pip install torch_pdegraph

Running the notebooks

In the notebooks I am demonstrating few applications of pdes on images and pcd by creating simple knn-graphs on gpu. One will need faiss library to create the graphs.

To display the pcds inside the notebook I am using jupyter visualization feature in open3d which uses a jupyter widget, notebooks must be running to for the widget to function.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_pdegraph-1.1.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

torch_pdegraph-1.1.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file torch_pdegraph-1.1.1.tar.gz.

File metadata

  • Download URL: torch_pdegraph-1.1.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for torch_pdegraph-1.1.1.tar.gz
Algorithm Hash digest
SHA256 13919f2798589e5ccee73bc1c5b772ea5c18b0ce4e349b2b9fc52303280b071d
MD5 3bc64807696f26e95034ea82abd7cb48
BLAKE2b-256 96ef37ffa85201d54b382a0d901d1ca3b15bf1ab9c7a73af7b432e2eebfc703f

See more details on using hashes here.

File details

Details for the file torch_pdegraph-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: torch_pdegraph-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for torch_pdegraph-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a22cc45a4b8c6d7c3cadd7eb6aa2f096a3ee8f821f5f59fa2f148a7a52fc85c4
MD5 9aaf508d75b9675a1952453bf35dfc17
BLAKE2b-256 e190bc652e2e369cc3f6952e4ce97747b148444fb4bfe5ca730d642704a99854

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page