Skip to content

Commit

Permalink
visualization & spconv2
Browse files Browse the repository at this point in the history
  • Loading branch information
CSautier committed Nov 22, 2022
1 parent 6bb3630 commit 7e47b91
Show file tree
Hide file tree
Showing 4 changed files with 703 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ The code provided is compatible with [nuScenes](https://www.nuscenes.org/lidar-s

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


## Reproducing the results

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

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

## Visualizations

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).
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.)

The [visualization code](utils/visualization.ipynb) allows to assess the similarities between points and pixels, as shown in the article.


## Acknowledgment

Expand Down
2 changes: 1 addition & 1 deletion model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
MinkUNet = None
try:
from model.spconv_backbone import VoxelNet
except ImportError:
except (ImportError, AttributeError):
VoxelNet = None
2 changes: 1 addition & 1 deletion model/modules/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

import collections
import collections.abc as collections
from enum import Enum

import MinkowskiEngine as ME
Expand Down
Loading

0 comments on commit 7e47b91

Please sign in to comment.