提交 6f881a0e 编写于 作者: S sunyanfang01

fix the blazenet

上级 23431930
...@@ -90,7 +90,6 @@ class BlazeNet(object): ...@@ -90,7 +90,6 @@ class BlazeNet(object):
name='double_blaze_{}'.format(k)) name='double_blaze_{}'.format(k))
elif len(v) == 4: elif len(v) == 4:
layers.append(conv) layers.append(conv)
fluid.layers.Print(layers[-1])
conv = self.BlazeBlock( conv = self.BlazeBlock(
conv, conv,
v[0], v[0],
...@@ -103,8 +102,6 @@ class BlazeNet(object): ...@@ -103,8 +102,6 @@ class BlazeNet(object):
if not self.with_extra_blocks: if not self.with_extra_blocks:
return layers[-1] return layers[-1]
fluid.layers.Print(layers[-2])
fluid.layers.Print(layers[-1])
return layers[-2], layers[-1] return layers[-2], layers[-1]
else: else:
conv1 = self._conv_norm( conv1 = self._conv_norm(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册