This commit is contained in:
Miao Zheng 2022-10-08 17:36:56 +08:00 committed by GitHub
parent 963b8edc32
commit abb0932966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,9 +48,8 @@ class FCNHead(BaseDecodeHead):
dilation=dilation,
conv_cfg=self.conv_cfg,
norm_cfg=self.norm_cfg,
act_cfg=self.act_cfg
))
act_cfg=self.act_cfg))
if len(convs) == 0:
self.convs = nn.Identity()
else: