Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mmdet3d/models/layers/sparse_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ def __init__(self,
SparseModule.__init__(self)
if conv_cfg is None:
conv_cfg = dict(type='SubMConv3d')
else:
conv_cfg = conv_cfg.copy()
conv_cfg.setdefault('indice_key', indice_key)
if norm_cfg is None:
norm_cfg = dict(type='BN1d')
Expand Down
1 change: 1 addition & 0 deletions mmdet3d/models/middle_encoders/sparse_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def make_encoder_layers(
out_channels,
out_channels,
norm_cfg=norm_cfg,
indice_key=f'subm{i + 1}',
conv_cfg=conv_cfg))
else:
blocks_list.append(
Expand Down