Comments (7)
Hi, could you please be a bit more specific? Which version of torch_points_kernels are you using?
In principle you should not have to import points_cpu and you should only use the high level methods available in torch_points_kernels directly.
from torch-points-kernels.
from torch-points-kernels.
Hi,
You can take a look at the tests for examples but in general, simply do:
from torch_points_kernels import knn
import torch
support = torch.tensor([[[0, 0, 0], [1, 0, 0], [2, 0, 0]]]).float()
query = torch.tensor([[[0, 0, 0]]]).float()
idx, dist = knn(support, query, 3)
from torch-points-kernels.
from torch-points-kernels.
Alright, looks like you're running on windows correct? If that's the case it might very well be that the libraries never compiled, we have never tried compiling those on windows. Otherwise it is certainly a problem with the installation, it seems that it does not compile the c++ code. Are you sure it installs properly? I.e no error? Last thing, did you install pytorch before installing it? You must have pytorch installed before running the pip install.
from torch-points-kernels.
from torch-points-kernels.
So that's the thing. Just install pytorch first and it should work! I have added a word about that on the README. We can't really fix the issue as far as I can tell, it's python dependency management problem... Let us know if you still have this issue.
from torch-points-kernels.
Related Issues (20)
- "CUDA error: No kernel image" still exists after reinstalling torch-points-kernels
- Fail to built HOT 1
- Probably you should update your installation tutorial timely. HOT 1
- Failed to install torch-points-kernels HOT 2
- import torch_points_kernels.points_cpu as tpcpu ModuleNotFoundError: No module named 'torch_points_kernels.points_cpu' HOT 1
- Both batches need to have the same number of samples HOT 4
- Trouble compiling HOT 3
- Problem about the chamfer distance
- ERROR: Failed building wheel for torch-points-kernels HOT 1
- Failed building wheel and failed running setup.py HOT 4
- ImportError: torch_points_kernels/points_cpu.so: undefined symbol: _ZNK2at6Tensor4normEN3c108optionalINS1_6ScalarEEENS1_8ArrayRefIlEEb HOT 4
- I can‘t install this module successfully,what is the process? HOT 5
- if only torch-cpu, couldn't install this mould?
- poetry doesn't work HOT 1
- Create Conda Package HOT 10
- Numpy version HOT 7
- ModuleNotFoundError: No module named 'torch_points_kernels.points_cuda' HOT 2
- Contributing to versions to pypi HOT 3
- build torch-points-kernels HOT 1
- Getting CUDA arch error while building from source. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch-points-kernels.