社区
脚本语言
帖子详情
大家好,我想请问一下module 'tensorflow._api.v1.compat' has no attribute 'vl'这个问题怎么解决?
qq_45635165
2019-12-17 09:08:11
...全文
3749
5
打赏
收藏
大家好,我想请问一下module 'tensorflow._api.v1.compat' has no attribute 'vl'这个问题怎么解决?
[图片]
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
D遠山覺醒
2020-04-22
打赏
举报
回复
引用 4 楼 YueShanTiger 的回复:
去掉.compat.v1
https://blog.csdn.net/qwerasdf_1_2/article/details/104254060
D遠山覺醒
2020-04-22
打赏
举报
回复
去掉.compat.v1
大二杨
2020-04-16
打赏
举报
回复
1 和 L 没打错吧
dididada~
2020-04-10
打赏
举报
回复
我也遇到类似问题:
import tensorflow.compat.v1 as tf
ModuleNotFoundError: No module named 'tensorflow.compat'
我用的tensorflow1.5,是版本太低的原因吗?
zkFun
2020-01-31
打赏
举报
回复
升级tf2.0.0
module
'
tensorflow
._
api
.
v1
.
com
pat
' has no
attribute
'
v1
'
当在
tensorflow
中运行如下的代码: self.writer = tf.
com
pat
.
v1
.summary.FileWriter(log_dir) 出现如下的报错:
解决
办法: 将代码改为如下即可 self.writer = tf.summary.FileWriter(log_dir) ...
解决
module
‘
tensorflow
_core
._
api
.v2.config‘ has no
attribute
‘experimental_list_devices‘
Attribute
Error:
module
‘
tensorflow
_core
._
api
.v2.config’ has no
attribute
‘experimental_list_devices’
解决
方案:将Anaconda\Lib\site-packages\keras\backend下的 def _get_available_gpus(): “”"Get a ...
Attribute
Error:
module
‘
tensorflow
‘ has no
attribute
‘
com
pat
‘的一种
解决
方式
我也是深度学习初学者小白一个,最近刚开始接触
tensorflow
它就给我浇了大大一盆凉水。。。谁能
想
到装个框架能卡我两天 系统:WIN10; CUDA:10.1 (一定要查清自己电脑显卡支持的CUDA版本,不要盲目安装与安装教程...
解决
:
Attribute
Error:
module
‘
tensorflow
.keras.backend‘ has no
attribute
‘get_session‘
Attribute
Error:
module
‘
tensorflow
.keras.backend‘ has no
attribute
‘get_session‘ 分析:出错原因是因为
tensorflow
2中
tensorflow
.keras.backend没有get_session接口,但是其提供了兼容
tensorflow
1的接口...
Attribute
Error:
module
‘
tensorflow
.keras.backend‘ has no
attribute
‘set_session‘
Attribute
Error:
module
'
tensorflow
.keras.backend' has no
attribute
'set_session'
脚本语言
37,743
社区成员
34,212
社区内容
发帖
与我相关
我的任务
脚本语言
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
复制链接
扫一扫
分享
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
试试用AI创作助手写篇文章吧
+ 用AI写文章