未验证 提交 3b36a655 编写于 作者: G Guanghua Yu 提交者: GitHub

fix distill error (#6907)

上级 9a1ee55c
......@@ -262,7 +262,7 @@ class FGDFeatureLoss(nn.Layer):
zeros_init = parameter_init("constant", 0.0)
if student_channels != teacher_channels:
self.align = nn.Conv2d(
self.align = nn.Conv2D(
student_channels,
teacher_channels,
kernel_size=1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册