成功解决AttributeError: module 'tensorflow.python.keras' has no attribute 'Model'
成功解决AttributeError: module 'tensorflow.python.keras' has no attribute 'Model'
目录
解决问题
解决方法
解决问题
File "object_detection/builders/model_builder_test.py", line 24, in <module>from object_detection.builders import model_builderFile "F:\File_Python\Python_example\models-master\research\object_detection\builders\model_builder.py", line 22, in <module>from object_detection.builders import box_predictor_builderFile "F:\File_Python\Python_example\models-master\research\object_detection\builders\box_predictor_builder.py", line 21, in <module>from object_detection.predictors import convolutional_box_predictorFile "F:\File_Python\Python_example\models-master\research\object_detection\predictors\convolutional_box_predictor.py", line 19, in <module>from object_detection.core import box_predictorFile "F:\File_Python\Python_example\models-master\research\object_detection\core\box_predictor.py", line 137, in <module>class KerasBoxPredictor(tf.keras.Model):
AttributeError: module 'tensorflow.python.keras' has no attribute 'Model'
解决方法
升级tensorflow到最新版本即可!
pip install -U tensorflow
成功解决AttributeError: module 'tensorflow.python.keras' has no attribute 'Model'相关推荐
- 成功解决AttributeError: module 'tensorflow.python.training.training' has no attribute 'SummaryWriter'
成功解决AttributeError: module 'tensorflow.python.training.training' has no attribute 'SummaryWriter' 目录 ...
- 成功解决AttributeError: module 'tensorflow.python.ops.nn' has no attribute '_seq2seq'
成功解决AttributeError: module 'tensorflow.python.ops.nn' has no attribute '_seq2seq' 目录 解决问题 解决思路 解决方法 ...
- 成功解决AttributeError: module 'tensorflow.nn.rnn_cell' has no attribute 'linear'
成功解决AttributeError: module 'tensorflow.nn.rnn_cell' has no attribute 'linear' 目录 解决问题 解决思路 解决方法 解决问题 ...
- 成功解决AttributeError: module 'tensorflow.contrib.data' has no attribute 'TextLineDataset'
成功解决AttributeError: module 'tensorflow.contrib.data' has no attribute 'TextLineDataset' 目录 解决问题 解决思路 ...
- 成功解决AttributeError: module tensorflow has no attribute reset_default_graph
成功解决AttributeError: module 'tensorflow' has no attribute 'reset_default_graph' 目录 解决问题 解决思路 解决方法 T1. ...
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 T1.降低tensor ...
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘contrib‘
成功解决AttributeError: module 'tensorflow' has no attribute 'contrib' 目录 解决问题 解决思路 解决方法 解决方法
- 成功解决AttributeError: module ‘tensorflow‘ has no attribute ‘get_variable‘
成功解决AttributeError: module 'tensorflow' has no attribute 'get_variable' 目录 解决问题 解决思路 解决方法 解决问题 Attri ...
- 成功解决AttributeError: module tensorflow has no attribute placeholder
成功解决AttributeError: module 'tensorflow' has no attribute 'placeholder' 目录 解决问题 解决思路 解决方法 解决问题 Attrib ...
最新文章
- 禁止java更新_禁止:禁止对'replicas','template'和'updateStrategy'以外的字段的statefulset规范进行更新...
- 学习动态性能表(3)--v$sqlv$sql_plan
- 第三天20160728
- nfs:server 172.168.1.22 not responding,still trying问题解决方法 平台为RealARM 210平台
- Lua的继承(利用setmetatable)
- 微软Office 365正式上架Mac App Store
- php 反转一个整数,LeetCode PHP 整数反转
- 软件开发流程都是什么样的呢?
- CleanMyMac X下载Mac系统清理优化工具
- MYSQL存储过程的简单运用,包括传值、返回值、返回集合
- ERROR ITMS-90096: Your binary is not optimized for iPhone 5 错误
- 全球首次!32岁青年科学今天发现!道翰天琼认知智能机器人平台API接口大脑为您揭秘。
- 结果页要求用户复制链接进行分享 而不是直接调用浏览器分享API的原因
- 第1期-通过携程爬取机票价格
- Windows平台搭建Spark开发环境(Intellij idea 2020.1社区版+Maven 3.6.3+Scala 2.11.8)
- 冯诺依曼计算机主机,冯诺依曼结构计算机包括哪五大部分?
- 齐鲁工业大学c语言程序设计试题及答案,2016年齐鲁工业大学理学院C语言程序设计考研复试题库...
- LINUX 段错误查找记录 -- segfault at fffffffffffffff9 ip 0000003c97e7b81c sp 00007fffad7c0638 error 4 in lib
- 惩罚线性回归---Python机器学习:预测分析核心算法
- Oracle数据库中的数据加密