Inverse sparse convolution means "inv" of sparse convolution. the output of inverse convolution contains same indices as input of sparse convolution.
Inverse sparse convolution means "inv" of sparse convolution. the output of inverse convolution contains same indices as input of sparse convolution.
**WARNING**```SparseInverseConv``` isn't equivalent to ```SparseConvTranspose```. SparseConvTranspose is equivalent to ```ConvTranspose``` in pytorch, but SparseInverseConv isn't.
Inverse convolution usually used in semantic segmentation.
Inverse convolution usually used in semantic segmentation.
```Python
```Python
...
@@ -112,8 +114,10 @@ voxel generator in spconv generate indices in **ZYX** order, the params format a
...
@@ -112,8 +114,10 @@ voxel generator in spconv generate indices in **ZYX** order, the params format a
generated indices don't include batch axis, you need to add it by yourself.
generated indices don't include batch axis, you need to add it by yourself.
see examples/voxel_gen.py for examples.
```Python
```Python
from spconv.pytorch.utils import PointToVoxel
from spconv.pytorch.utils import PointToVoxel, gather_features_by_pc_voxel_id
If you want to get label for every point of your pc, you need to use another function to get pc_voxel_id and gather features from sematic segmentation result: