-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
plot_model throws AssertionError #12640
Comments
Just to add to this, I am also facing the same issue. Is any working solution/workaround available yet? |
Same issue here |
my case, I modify layer's name and it works. I think it's because of layer's name |
+1 |
Try this fix pydot/pydot#222 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make sure that the boxes below are checked before you submit your issue.
If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.
Thank you!
Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps
Check that your version of TensorFlow is up-to-date. The installation instructions can be found here.
Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
Introduction
I'm currently following the Plural Sight course on setting up Keras and using it for Object Detection. However with the second script I'm running into an AssertionError:
Code used for the course:
There's already a duplicate of this issue but it was closed without a fix: #12538
I mean honestly wtf, hacking code into the Keras library without actually commiting it != a fix 😄
@ymodak, you asked for a way to reproduce this error. All this information should be enough for this.
My environment
OS: Windows 10
Python install: MiniConda with 3.6
CUDA: Yes
Commands I ran:
Note: graphviz is automatically installed.
My investigation
I already tried to figure out what's going on and it seems that at some point a file named
dot.bat
is called which returned exit code 1.Path of dot.bat: C:\Users\******\AppData\Local\conda\conda\pkgs\graphviz-2.38-hfd603c8_2\Library\bin\dot.bat
If I check out that file it calls dot.exe
Path of dot.exe: C:\Users\********\AppData\Local\conda\conda\pkgs\graphviz-2.38-hfd603c8_2\Library\bin\graphviz\dot.exe
When you check out the screenshot, you can see on the bottom the commands that are being used to call dot.bat:
['dot.bat', '-Tps', 'C:\\Users\\********\\AppData\\Local\\Temp\\tmpd7q3ltxy'] return code: 1
If I however check the Temp directory to see if there's a file named
tmpd7q3ltxy
. There is none.Question
Does anyone have any idea what's going on here?
The text was updated successfully, but these errors were encountered: