提交 29712df9 编写于 作者: S SunAhong1993

fix the bug2

上级 d76f2607
......@@ -183,8 +183,8 @@ class CaffeGraph(Graph):
node = self.node_map[layer_name]
node.set_params(data)
else:
notice('Ignoring parameters for non-existent layer: %s' % \
layer_name)
raise Exception('Ignoring parameters for non-existent layer: %s' % \
layer_name)
super(CaffeGraph, self).build()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册