Skip to content

Commit 7e47b91

Browse files
committed
visualization & spconv2
1 parent 6bb3630 commit 7e47b91

File tree

4 files changed

+703
-3
lines changed

4 files changed

+703
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ The code provided is compatible with [nuScenes](https://www.nuscenes.org/lidar-s
4040

4141
[PV-RCNN finetuned on KITTI](https://github.com/valeoai/SLidR/releases/download/v1.0/pvrcnn_slidr.pt)
4242

43-
4443
## Reproducing the results
4544

4645
### Pre-computing the superpixels (required)
@@ -131,6 +130,13 @@ SLidR |81.9 |51.6 |68.5 |**
131130

132131
*As reimplemented in [ONCE](https://arxiv.org/abs/2106.11037)
133132

133+
## Visualizations
134+
135+
For visualization you need a pre-training containing both 2D & 3D models. We provide the raw [SR-UNet & ResNet50 pre-trained on nuScenes](https://github.com/valeoai/SLidR/releases/download/v1.1/minkunet_slidr_1gpu_raw.pt).
136+
The image part of the pre-trained weights are identical for almost all layers to those of [MoCov2](https://github.com/facebookresearch/moco) (He et al.)
137+
138+
The [visualization code](utils/visualization.ipynb) allows to assess the similarities between points and pixels, as shown in the article.
139+
134140

135141
## Acknowledgment
136142

model/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
MinkUNet = None
66
try:
77
from model.spconv_backbone import VoxelNet
8-
except ImportError:
8+
except (ImportError, AttributeError):
99
VoxelNet = None

model/modules/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55

6-
import collections
6+
import collections.abc as collections
77
from enum import Enum
88

99
import MinkowskiEngine as ME

0 commit comments

Comments
 (0)