We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb1359 commit 1cb6feaCopy full SHA for 1cb6fea
python/draw_net.py
@@ -5,7 +5,7 @@
5
import os
6
from google.protobuf import text_format
7
8
-import caffe
+import caffe, caffe.draw
9
from caffe.proto import caffe_pb2
10
11
@@ -17,7 +17,7 @@ def main(argv):
17
net = caffe_pb2.NetParameter()
18
text_format.Merge(open(sys.argv[1]).read(), net)
19
print 'Drawing net to %s' % sys.argv[2]
20
- draw_net_to_file(net, sys.argv[2])
+ caffe.draw.draw_net_to_file(net, sys.argv[2])
21
22
23
if __name__ == '__main__':
0 commit comments