@@ -27,7 +27,30 @@ All included operations work on varying data types and are implemented both for
...
@@ -27,7 +27,30 @@ All included operations work on varying data types and are implemented both for
## Installation
## Installation
Ensure that at least PyTorch 1.1.0 is installed and verify that `cuda/bin` and `cuda/include` are in your `$PATH` and `$CPATH` respectively, *e.g.*:
### Binaries
We provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://s3.eu-central-1.amazonaws.com/pytorch-geometric.com/whl/index.html).
A greedy clustering algorithm of picking an unmarked vertex and matching it with one its unmarked neighbors (that maximizes its edge weight).
A greedy clustering algorithm of picking an unmarked vertex and matching it with one its unmarked neighbors (that maximizes its edge weight).
The GPU algorithm is adapted from Fagginger Auer and Bisseling: [A GPU Algorithm for Greedy Graph Matching](http://www.staff.science.uu.nl/~bisse101/Articles/match12.pdf) (LNCS 2012)
The GPU algorithm is adapted from Fagginger Auer and Bisseling: [A GPU Algorithm for Greedy Graph Matching](http://www.staff.science.uu.nl/~bisse101/Articles/match12.pdf) (LNCS 2012)
...
@@ -70,7 +99,7 @@ print(cluster)
...
@@ -70,7 +99,7 @@ print(cluster)
tensor([0, 0, 1])
tensor([0, 0, 1])
```
```
## VoxelGrid
### VoxelGrid
A clustering algorithm, which overlays a regular grid of user-defined size over a point cloud and clusters all points within a voxel.
A clustering algorithm, which overlays a regular grid of user-defined size over a point cloud and clusters all points within a voxel.
...
@@ -89,7 +118,7 @@ print(cluster)
...
@@ -89,7 +118,7 @@ print(cluster)
tensor([0, 5, 3, 0, 1])
tensor([0, 5, 3, 0, 1])
```
```
## FarthestPointSampling
### FarthestPointSampling
A sampling algorithm, which iteratively samples the most distant point with regard to the rest points.
A sampling algorithm, which iteratively samples the most distant point with regard to the rest points.