AttributeError: module ‘keras_applications‘ has no attribute
问题:
runfile(‘C:/Users/…/Desktop/untitled4.py’, wdir=‘C:/Users/…/Desktop’)
Traceback (most recent call last):
File “”, line 1, in
runfile(‘C:/Users/…/Desktop/untitled4.py’, wdir=‘C:/Users/…/Desktop’)
File “D:\python\anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py”, line 710, in runfile
execfile(filename, namespace)
File “D:\python\anaconda\lib\site-packages\spyder\utils\site\sitecustomize.py”, line 101, in execfile
exec(compile(f.read(), filename, ‘exec’), namespace)
File “C:/Users/…/Desktop/untitled4.py”, line 9, in
from keras import models, layers ,regularizers
File “D:\python\anaconda\lib\site-packages\keras_init_.py”, line 5, in
from . import applications
File “D:\python\anaconda\lib\site-packages\keras\applications_init_.py”, line 13, in
keras_applications.set_keras_submodules(
AttributeError: module ‘keras_applications’ has no attribute 'set_keras_submodules’
解决方法:
pip install --upgrade keras==2.1.6
AttributeError: module ‘keras_applications‘ has no attribute相关推荐
- 解决: AttributeError: module 'cv2' has no attribute 'SURF'
AttributeError: module 'cv2' has no attribute 'SURF' 遇到该问题时,网友多是建议补个包,即pip install opencv-contrib-py ...
- AttributeError: module ‘seaborn‘ has no attribute ‘tsplot‘
AttributeError: module 'seaborn' has no attribute 'tsplot' 问题: g = sns.tsplot(df['pm2.5']) plt.figur ...
- AttributeError: module ‘tensorflow‘ has no attribute ‘Session‘错误解决
AttributeError: module 'tensorflow' has no attribute 'Session'错误解决 根据网上教程安装tensorflow环境时,最后都会有个测试代码用 ...
- Python 报错解决:AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
早上升级完pip,后报错如下: -> # pip install --upgrade pwntools /usr/local/lib/python2.7/dist-packages/pip/_v ...
- AttributeError: module ‘sys‘ has no attribute ‘maxint‘
AttributeError: module 'sys' has no attribute 'maxint' https://stackoverflow.com/questions/47027354/ ...
- AttributeError: module 'tensorflow' has no attribute 'random_normal'
执行<TensorFlow实战Google深度学习框架(第2版)>only源代码 CH3 时如下语句报错 batch_size = 8 w1= tf.Variable(tf.random_ ...
- Python3 AttributeError: module 'cv2' has no attribute 'SIFT'
参考 https://blog.csdn.net/yuxuan_08/article/details/87966840 在用python3使用sift = cv2.SIFT()进行SIFT时候,可能会 ...
- Python3异常-AttributeError: module ‘sys‘ has no attribute ‘setdefaultencoding‘
Python3异常-AttributeError: module 'sys' has no attribute 'setdefaultencoding' 参考文章: (1)Python3异常-Attr ...
- 问题解决——AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
问题解决--AttributeError: module 'tensorflow' has no attribute 'placeholder' 参考文章: (1)问题解决--AttributeErr ...
最新文章
- 如何在AjaxPro.net的AjaxMethod中使用session和cookie
- FreeRTOS学习笔记——互斥型信号量
- qt如何实现backspace的功能_如何实现知识星球列表拖拽功能
- multiprocessing.manager管理的对象需要加锁吗_iOS内存管理布局及管理方案理论篇
- CLient-Initiated L2TP主机上网问题详解
- C# ManualResetEvent和AutoResetEvent 使用笔记
- RxBus的使用及解析
- 简单 黑苹果dsdt教程_提取DSDT和SSDT教程
- Hulu推荐:小众又新颖的综艺
- 消除六边形html5,六边形消除
- 码农如何克服“职业病”
- [jzoj 4246] 【五校联考6day2】san {spfa+dfs/spfa+拓扑排序+dp}
- Windows ActiveMq开机自启动设置
- 怀念王选,怀念北大计算机研究所
- 合规性对区块链项目的重要性
- zabbix监控客户端时前端配置不成功
- SEO全攻略:中小企业新站SEO优化应该怎么做_刘小虎SEO博客
- VoLTE常用12大知识点
- odoo13 订单模板设置_Odoo + Anodoo功能介绍13-SaaS公司如何定义在线销售的订阅产品...
- [转]孝心无价--毕淑敏
热门文章
- 3U VPX XC7VX690T计算处理板
- 【ESP 保姆级教程 预告】疯狂Node.js服务器篇 ——案例:ESP8266 + DHT11 +NodeJs本地服务+ MySQL数据库
- 实现简单的增删改查(Asp.Net MVC+Layui)
- 贵州大学计算机研究生排名,贵大计算机研究生怎么样?
- 北亚工程师详解数据恢复中RAID6结构
- 金仓数据库KingbaseES数据库参考手册(服务器配置参数14. 版本和平台兼容性)
- maven报错one of its dependencies could not be resolved
- 百度用AI“唤醒”历史,中国文化名片与科技名片相互成就
- vtk中画几何图形存储为vtk文件并在窗口显示
- Personalized Top-N Sequential Recommendation via Convolutional Sequence Embedding