PyTorch kernels for spatial operations on point clouds
Project description
3D Point Cloud Kernels
Pytorch CPU and CUDA kernels for spatial search and interpolation for 3D point clouds.
Installation
Requires torch version 1.0 or higher to be installed before proceeding. Once this is done, simply run
pip install torch-points-kernels
or with poetry:
poetry add torch-points-kernels
Usage
import torch
import torch_points_kernels.points_cuda
Build and test
python setup.py build_ext --inplace
python -m unittest
Troubleshooting
Ensure that at least PyTorch 1.4.0 is installed and verify that cuda/bin
and cuda/include
are in your $PATH
and $CPATH
respectively, e.g.:
$ python -c "import torch; print(torch.__version__)"
>>> 1.4.0
$ python -c "import torch; print(torch.__version__)"
>>> 1.1.0
$ echo $PATH
>>> /usr/local/cuda/bin:...
$ echo $CPATH
>>> /usr/local/cuda/include:...
Projects using those kernels.
Credit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torch-points-kernels-0.6.5.tar.gz
(35.9 kB
view hashes)
Close
Hashes for torch-points-kernels-0.6.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eafef3c2c6149e5ba9643d275f406110826b5b5ed8afb000c6239293bd6462c |
|
MD5 | 245e7c5874c93cc0b578c373c8c4e0dc |
|
BLAKE2b-256 | 9a08bb7a45fa5215525171aa398b020913203854c8595ed6ebb677aa55720ef3 |