pull/1819/head
weishengyu 2022-04-08 10:59:18 +08:00
parent e651f3f62f
commit 7f0b7a04cd
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ class BNNeck(paddle.nn.Layer):
self.bn = paddle.nn.BatchNorm1D(
self.num_filters)
if not trainable:
self.bn.weight.trainable = False
self.bn.bias.trainable = False
def forward(self, input, label=None):