Skip to content

Commit 239baaa

Browse files
committed
Drop pydotplus
1 parent 26dd65c commit 239baaa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

python/caffe/draw.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@
1111

1212
from caffe.proto import caffe_pb2
1313

14-
"""
15-
pydot is not supported under python 3 and pydot2 doesn't work properly.
16-
pydotplus works nicely (pip install pydotplus)
17-
"""
18-
try:
19-
# Try to load pydotplus
20-
import pydotplus as pydot
21-
except ImportError:
22-
import pydot
14+
import pydot
2315

2416
# Internal layer and blob styles.
2517
LAYER_STYLE_DEFAULT = {'shape': 'record',

0 commit comments

Comments
 (0)