当前位置:网站首页>plot_model报错:没有安装pydot, graphviz
plot_model报错:没有安装pydot, graphviz
2022-06-27 22:07:00 【Sarah ฅʕ•̫͡•ʔฅ】
1,安装pydot, graphviz方法可以 参考 以下博文:
https://blog.csdn.net/shangxiaqiusuo1/article/details/85283432
2,安装好后,修改pydot中的一个申明:
https://blog.csdn.net/HJXINKKL/article/details/89483033
2,安装好以后,检查 graphviz是否安装好:
https://blog.csdn.net/u014749291/article/details/54891087
import pydot
print(pydot.find_graphviz()) #报错:pydot没有 find_graphviz(),查看了 pydot.py,确实没有
#后,在pydot_ng中找到
import pydot_ng
print(pydot_ng.find_graphviz())
#返回: None
#后,查看 系统变量path路径:C:\Program Files (x86)\Graphviz2.38\bin
#修改为:C:\Program Files (x86)\Graphviz2.38\bin\
print(pydot_ng.find_graphviz())
#返回一个字典{...}
#运行了tensorflow官网代码:https://www.tensorflow.org/api_docs/python/tf/keras/utils/plot_model
#在次使用plot_model,无报错
边栏推荐
- SQL报了一个不常见的错误,让新来的实习生懵了
- [paper reading | deep reading] sdne:structural deep network embedding
- [AI application] detailed parameters of NVIDIA Tesla v100s-pcie-32gb
- 赛尔笔记|视频文本预训练简述
- 免费、好用、强大的开源笔记软件综合评测
- MongoDB-在windows电脑本地安装一个mongodb的数据库
- [读书摘要] 学校的英文阅读教学错在哪里?--经验主义和认知科学的PK
- 每次启动项目的服务,电脑竟然乖乖的帮我打开了浏览器,100行源码揭秘!
- Alchemy (8): parallel development and release
- Safe, fuel-efficient and environment-friendly camel AGM start stop battery is full of charm
猜你喜欢
![[PCL self study: pclplotter] pclplotter draws data analysis chart](/img/ca/db68d5fae392c7976bfc93d2107509.png)
[PCL self study: pclplotter] pclplotter draws data analysis chart
![[paper reading | deep reading] sdne:structural deep network embedding](/img/6a/b2edf326f6e7ded83deb77219654aa.png)
[paper reading | deep reading] sdne:structural deep network embedding

剑指 Offer 65. 不用加减乘除做加法

认识微信小程序项目的基本组成结构

MySQL enterprise parameter tuning practice sharing

MYSQL的下载与配置安装

Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
![用两个栈实现队列[两次先进后出便是先进先出]](/img/de/07297816f1a44d41389bb45d012c80.png)
用两个栈实现队列[两次先进后出便是先进先出]

剑指 Offer 61. 扑克牌中的顺子

技术的极限(11): 有趣的编程
随机推荐
How to quote Chinese documents when writing a foreign language?
哪个证券公司炒股开户是比较好,更安全靠谱的
Code neatness -- format
[AI application] detailed parameters of NVIDIA geforce RTX 3060
Summary of wuenda's machine learning course (14)_ Dimensionality reduction
Is it safe for Huatai Securities to open an account online?
Code neatness -- function
Feign implements path escape through custom annotations
炼金术(1): 识别项目开发中的ProtoType、Demo、MVP
Modern programming language: rust
股市小白在网上股票开户安全吗?
[digital ic/fpga] detect the position of the last matching sequence
IIC communication protocol for single chip microcomputer
What are the ways to combine the points system with marketing activities
At the beginning of reading English literature, I would like to ask you how you should read it in the first place?
The Internet industry has derived new technologies, new models and new types of industries
Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
炼金术(3): 怎样做好1个业务流程的接口对接
Is the securities registration account safe? Is there any risk?
Using two stacks to implement queues [two first in first out is first in first out]