-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Draw Net Problem (%d format: a number is required) #3201
Copy link
Copy link
Closed
Description
This seem similar to #1709. In the master branch, when running ./python/draw_net.py, I get this traceback. Seems like this is an area that regresses frequently, what would a good test look like to prevent this from happening again?
root@0e28b3340f95:/opt/caffe# python ./python/draw_net.py ./foo.proto /data/net.png
libdc1394 error: Failed to initialize libdc1394
Couldn't import dot_parser, loading of dot files will not be possible.
Drawing net to /data/net.png
Traceback (most recent call last):
File "./python/draw_net.py", line 45, in <module>
main()
File "./python/draw_net.py", line 41, in main
caffe.draw.draw_net_to_file(net, args.output_image_file, args.rankdir)
File "/opt/caffe/python/caffe/draw.py", line 213, in draw_net_to_file
fid.write(draw_net(caffe_net, rankdir, ext))
File "/opt/caffe/python/caffe/draw.py", line 195, in draw_net
return get_pydot_graph(caffe_net, rankdir).create(format=ext)
File "/opt/caffe/python/caffe/draw.py", line 142, in get_pydot_graph
node_label = get_layer_label(layer, rankdir)
File "/opt/caffe/python/caffe/draw.py", line 89, in get_layer_label
layer.convolution_param.pad)
TypeError: %d format: a number is required, not RepeatedScalarFieldContainer
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels