Skip to content

Commit

Permalink
Small platform-specific bugfix for draw.py
Browse files Browse the repository at this point in the history
Close BVLC#2376

On Gentoo and CentOS (and others?), you get this error:
    Warning: /tmp/tmpjqPQBC:6: string ran past end of line
  • Loading branch information
lukeyeager committed Jun 9, 2015
1 parent 2f4a9e4 commit cdab89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/caffe/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_layer_label(layer, rankdir):
else:
# If graph orientation is horizontal, vertical space is free and
# horizontal space is not; separate words with newlines
separator = '\n'
separator = '\\n'

if layer.type == 'Convolution':
# Outer double quotes needed or else colon characters don't parse
Expand Down

0 comments on commit cdab89a

Please sign in to comment.