Skip to content

Commit

Permalink
Fix channel bug in centerpoint Separatehead (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhezhao1989 authored Dec 13, 2020
1 parent e5a155e commit bafee2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmdet3d/models/dense_heads/centerpoint_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,19 @@ def __init__(self,
classes, num_conv = self.heads[head]

conv_layers = []
c_in = in_channels
for i in range(num_conv - 1):
conv_layers.append(
ConvModule(
in_channels,
c_in,
head_conv,
kernel_size=final_kernel,
stride=1,
padding=final_kernel // 2,
bias=bias,
conv_cfg=conv_cfg,
norm_cfg=norm_cfg))
c_in = head_conv

conv_layers.append(
build_conv_layer(
Expand Down

0 comments on commit bafee2e

Please sign in to comment.