提交 58940e97 编写于 作者: L longxiang

fix coordconv bug

上级 892ddd84
...@@ -121,7 +121,7 @@ class YOLOv3Head(object): ...@@ -121,7 +121,7 @@ class YOLOv3Head(object):
act='leaky', act='leaky',
is_test=True, is_test=True,
name=None): name=None):
if coord_conv: if coord_conv and self.coord_conv:
input = self._add_coord(input) input = self._add_coord(input)
conv = fluid.layers.conv2d( conv = fluid.layers.conv2d(
input=input, input=input,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册