Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydot failed to call GraphViz #11

Open
unidev10 opened this issue Nov 29, 2018 · 4 comments
Open

pydot failed to call GraphViz #11

unidev10 opened this issue Nov 29, 2018 · 4 comments

Comments

@unidev10
Copy link

when i run the command:
dae = DAEDisaggregator(256)
i get the error:
OSError: pydot failed to call GraphViz.Please install GraphViz (https://www.graphviz.org/) and ensure that its executables are in the $PATH
but i already have pydot and graphviz installed. please help, thanks in advance!

@anasvaf
Copy link

anasvaf commented Nov 29, 2018

Comment out:
i) from keras.utils import plot_model
and
ii) line 366 where it plots the model

@unidev10
Copy link
Author

thank you! it seems now i got another error for a different line.
for the line: dae.train(train_mains, train_meter, epochs=25, sample_period=1)
i get the error: ValueError: NaTType does not support dst

@bundit786
Copy link

I tried to replicate the result and stuck at this stage as well. I imported daedisaggregator.py using %load daedisaggregator.py
Even I had installed pydot but the error on installation came out. The commenting out of the 2 lines was also done.
ImportError: Failed to import pydot. Please install pydot. For example with pip install pydot`
Please help, thanks.

@OdysseasKr
Copy link
Owner

Usually, installing GraphViz means

sudo apt-get install graphvis

in Ubuntu/Debian or the equivalent command in other operating systems.

As for pydot you can also discuss here #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants