东方耀AI技术分享

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 3895|回复: 0

[课堂笔记] dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.792392 to fit

[复制链接]

1365

主题

1856

帖子

1万

积分

管理员

Rank: 10Rank: 10Rank: 10

积分
14418
QQ
发表于 2019-12-27 09:13:02 | 显示全部楼层 |阅读模式



dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.792392 to fit


报错的开始代码还是:keras.utils.plot_model


具体文件:File "D:\ProgramData\Miniconda3\envs\py3_torch_gpu\lib\site-packages\keras\utils\vis_utils.py", line 252, in plot_model
dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.792392 to fit
    return display.Image(filename=to_file)


解决思路:调用keras.utils.model_to_dot()是没有问题的


参考:https://zhuanlan.zhihu.com/p/75133195


https://stackoverflow.com/questions/33102544/cannot-open-dot-file-gvedit
让天下人人学会人工智能!人工智能的前景一片大好!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|人工智能工程师的摇篮 ( 湘ICP备2020019608号-1 )

GMT+8, 2024-3-29 01:51 , Processed in 0.176211 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表