Most of the people gave great insights, here's a procedure which I find useful for myself -
assumed conf. -> Anaconda 4.4.0 or higher, Win 8+, and using anaconda prompt
- Few required installations (no order necessary)
pip install pydot-ngconda install graphvizpip install graphviz
- PATH setting -> Under user environment variables add
C:/Anaconda/Library/bin/graphvizin PATH (not Path) - Go to
C:/Anaconda/Lib/site-packages/keras/utils/
Now openvis_utils.pyin an editor and change line 11 fromimport pydottoimport pydot_ng as pydot - All set, now go to Jupyter notebook and type following commands -
import graphvizimport pydot_ng as pydotpydot.find_graphviz()
If everything went well then you will find something similar to as shown below -{'circo': 'C:\\Anaconda\\Library\\bin\\graphviz\\circo.exe','dot': 'C:\\Anaconda\\Library\\bin\\graphviz\\dot.exe','fdp': 'C:\\Anaconda\\Library\\bin\\graphviz\\fdp.exe','neato': 'C:\\Anaconda\\Library\\bin\\graphviz\\neato.exe','sfdp': 'C:\\Anaconda\\Library\\bin\\graphviz\\sfdp.exe','twopi': 'C:\\Anaconda\\Library\\bin\\graphviz\\twopi.exe'}
Комментариев нет:
Отправить комментарий