Bug in voxel grid generation
See original GitHub issueHi,
I have one doubt regarding the voxel grid. In some of my point clouds this error is triggered:
File "/home/dhorka/phd/code/test_pool.py", line 251, in forward
data = avg_pool(cluster, data)
File "/home/dhorka/venv/pytorch11_geometric/lib/python3.6/site-packages/torch_geometric/nn/pool/avg_pool.py", line 61, in avg_pool
index, attr = pool_edge(cluster, data.edge_index, data.edge_attr)
File "/home/dhorka/venv/pytorch11_geometric/lib/python3.6/site-packages/torch_geometric/nn/pool/pool.py", line 11, in pool_edge
num_nodes)
File "/home/dhorka/venv/pytorch11_geometric/lib/python3.6/site-packages/torch_sparse/coalesce.py", line 29, in coalesce
_, perm = unique(row * n + col)
File "/home/dhorka/venv/pytorch11_geometric/lib/python3.6/site-packages/torch_sparse/utils/unique.py", line 12, in unique
out, perm = torch_sparse.unique_cuda.unique(src)
RuntimeError: cuda runtime error (9) : invalid configuration argument at /home/dhorka/libs/pytorch/aten/src/THC/generic/THCTensorMathReduce.cu:293
In order to replicate the error in a more controlled environment I found that, this error is triggered when the voxel grid acts as a global pooling , it is only one grid required to aggroup all the nodes. The following code is what I used:
cluster = voxel_grid(data.pos, data.batch, 100, start = -10e7,end = 10e7)
data.edge_attr = None
data = avg_pool(cluster, data)
Is there anything that I am doing wrong? Is it intended this behaviour? I know that there is a specific method to go a global pooling, but it is not my intention to do a global pooling, but some times due to the density of my point cloud, only one grid is required.
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Bug in voxel grid generation · Issue #319 - GitHub
Hi, I have one doubt regarding the voxel grid. In some of my point clouds this error is triggered: File "/home/dhorka/phd/code/test_pool.py" ...
Read more >UNDERSTANDING PURE CLIP GUIDANCE FOR VOXEL ...
They demonstrate generation of high-resolution grids using CLIP guidance only. Strength And Weaknesses: Strength: This paper is well written.
Read more >FMRI Clustering in AFNI: False-Positive Rates Redux - NCBI
This program works by generating a 3D grid of independent and identically distributed N(0,1) random deviates, smoothing them to the level ...
Read more >How to generate a procedural /voxel world - Asset Creation
I have a question concerning the genration procedural voxel world. I currently have generated a world with the noise of a simplex in...
Read more >Voxel display - OpenViBE documentation
This plugin uses a 3D grid of voxels to display brain activity sources in real time. The incoming matrix stream is assumed to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is not the case, both implementations have different results. Moreover, I found that the results of the nnconv with the parameters properly set to have the same behaviour as ecc convolution does not have the same results as the original implementation of ecc. In a couple of hours I can share with you the code that I am using to compare the results of both implementations.
Well,
cluster
indices do not mean much and can vary based on implementation (e.g. different order of dimensions), but rather the coarsened graph/pooled node features should be equal. Isn’t this the case?