From 0e568006a8c76e790d4e3f67adaf376254f2ba04 Mon Sep 17 00:00:00 2001 From: weishengyu Date: Wed, 26 May 2021 00:17:38 +0800 Subject: [PATCH] dbg --- ppcls/arch/backbone/legendary_models/hrnet.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ppcls/arch/backbone/legendary_models/hrnet.py b/ppcls/arch/backbone/legendary_models/hrnet.py index 7a706498..5a0bf449 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( -- GitLab