-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Generate Conv3D results on another set of coordinates? #309
Comments
I recommend doing this:
|
Thank you for answering. But maybe I havn't describe my problem clearly enough. |
Is |
No. They are different coordinates. The purpose of this operation is to transfer the attributes of A to another sets of coordinates B. |
@Tortoise0Knight Ok I think this might help?
|
Sorry. I think your solution is still not what I want. E.g. the y.F possibly not have the same number of points to coords_B. In that case, we can not create the result tensor. |
@Tortoise0Knight I don't understand how you can apply features to a difference number of points. Each point needs to have a feature. Is there another library function that does this? |
I think this request refers to the ability to apply a convolution to points that are different from the points of the features. I don't know if other libraries do this. |
Thank you for clear explanation of what I mean. Minkowski Engine actually can do this. In calling https://nvidia.github.io/MinkowskiEngine/convolution.html#MinkowskiEngine.MinkowskiConvolution.forward, you can give The ability to apply convolution on differents sets of coordinates is very useful. It can be used as a NN replacement for traditional feature extraction like KNN, as I tested on Minkowski Engine. |
Thanks for detailing this. I recommend you do some MinkowskiEngine layer, inside your TorchSparse model. You will have to swap between MinkowskiEngine sparse tensors and TorchSparse sparse tensor, but it will work. I've done this before and the speed is pretty good. |
Is there an existing issue for this?
Current Behavior
Does TorchSparse support generate
Conv3D()
results on another set of coordinates? Which means callingforward(input, coords)
, and the output is a sparse tensor with the same coordinates ascoords
, but the features are computed with corresponding features oninput
.The text was updated successfully, but these errors were encountered: