fix the bug2
@@ -183,7 +183,7 @@ class CaffeGraph(Graph):
node = self.node_map[layer_name]
node.set_params(data)
else:
- notice('Ignoring parameters for non-existent layer: %s' % \
+ raise Exception('Ignoring parameters for non-existent layer: %s' % \
layer_name)
super(CaffeGraph, self).build()
