提交 7f0b7a04 编写于 作者: W weishengyu

dbg

上级 e651f3f6
......@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册