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.
pydot
1 parent 3dd958b commit c1316e5Copy full SHA for c1316e5
keras/src/utils/model_visualization.py
@@ -8,16 +8,15 @@
8
from keras.src.utils import io_utils
9
10
try:
11
- # pydot-ng is a fork of pydot that is better maintained.
12
- import pydot_ng as pydot
+ import pydot
13
except ImportError:
14
- # pydotplus is an improved version of pydot
+ # pydot_ng and pydotplus are older forks of pydot
+ # which may still be used by some users
15
16
- import pydotplus as pydot
+ import pydot_ng as pydot
17
18
- # Fall back on pydot if necessary.
19
20
- import pydot
+ import pydotplus as pydot
21
22
pydot = None
23
0 commit comments