diff --git a/ppcls/arch/backbone/legendary_models/hrnet.py b/ppcls/arch/backbone/legendary_models/hrnet.py index 7a706498bfcdc18884588760179879118ff744ae..5a0bf4497ec4a75fe4e278016f18b7dd4d1a2975 100644 --- a/ppcls/arch/backbone/legendary_models/hrnet.py +++ b/ppcls/arch/backbone/legendary_models/hrnet.py @@ -151,15 +151,13 @@ class BasicBlock(nn.Layer): num_filters=num_filters, filter_size=3, stride=1, - act="relu", - name=name + "_conv1") + act="relu") self.conv2 = ConvBNLayer( num_channels=num_filters, num_filters=num_filters, filter_size=3, stride=1, - act=None, - name=name + "_conv2") + act=None) if self.has_se: self.se = SELayer(