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 benefits from the hardware acceleration. See the video-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 play with the jupyter-notebooks in the applications/ folder which presents few of their applications. Download the data
- 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 --upgrade pip
pip install .
Or do:
pip install --upgrade pip
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.
To do:
- Add an interpolation application.
- Add a segmentation predefined pde.
Release files for torch-pdegraph 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| torch_pdegraph-1.1.2.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torch_pdegraph-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / torch_pdegraph-1.1.2.tar.gz
| Download URL | torch_pdegraph-1.1.2.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9b7dd3a7cc4d0730058bcc975006fec73dd07cd1dca5ee896f8ccbc47b2a135
|
|
BLAKE2b-256 checksum How to use checksums |
a2ff705944db8c11f22382630bc409f1fc758729ef0ff6228cd23f7c7815eef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / torch_pdegraph-1.1.2-py3-none-any.whl
| Download URL | torch_pdegraph-1.1.2-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cda1e9bebfc5e23608def899d1cadf50e2914c0dc2a696e43dd6b2b11a47f6a5
|
|
BLAKE2b-256 checksum How to use checksums |
3b38545c67815f7e3881c2e7dd20d1fe880d6088664fde8f43103404e6279020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|