腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
4
回答
AttributeError
:
在
导入
tensorflow
时
,
元组
对象
没有
“”
type
“”
属性
“”
python-3.x
、
numpy
、
tensorflow
我按照these的说明安装了
Tensorflow
(-gpu)版本1.8.0作为pip包。
在
安装
时
,我打开了一个python3控制台并键入 import
tensorflow
as tf 在此基础上,我得到以下错误 Traceback (most recent call last):
AttributeError
: 'tuple'
浏览 26
提问于2019-01-15
得票数 6
回答已采纳
1
回答
Tensorflow
导入
错误(compat.py_:
AttributeError
:'module‘
对象
没有
'integer’
属性
numpy
、
tensorflow
、
import
我正在尝试将
tensorflow
用于一个研究项目,但是我无法将其
导入
到我的程序中,即使我使用Anaconda成功地安装了它。我使用的是Mac 10.13.5。每当我尝试
导入
tensorflow
时
,我总是收到这个错误:
AttributeError
:'module‘
对象
在
tensorflow
文件compat.py中
没有
'integer’
属性
。这样我就可以使用
tensorfl
浏览 11
提问于2018-07-20
得票数 3
1
回答
AttributeError
:对于具有
tensorflow
的拥抱脸bert.AutoModel模型,“KerasTensor”
对象
没有
属性
“size”
python
、
tensorflow
、
bert-language-model
、
huggingface-transformers
我正在
tensorflow
2上工作,我使用了Hugface的预训练BERT和
Tensorflow
2来做文本分类,这里我想用它来创建神经网络:从
tensorflow
.keras
导入
层 from transformers## create neural network input token_
type
_idsattention_mask = layers.Input(shape=(ma
浏览 16
提问于2021-04-27
得票数 1
3
回答
无法加载
tensorflow
_hub
python
、
tensorflow
、
tensorflow-hub
写入
导入
tensorflow
_hub后,出现以下错误:导出器:模块“”
tensorflow
.python.estimator.estimator_lib“”
没有
属性
“”
AttributeError
“”谢谢!
浏览 10
提问于2018-04-11
得票数 8
2
回答
AttributeError
:模块“
tensorflow
.contrib”
没有
属性
“估计器”
python
、
tensorflow
我已经
在
Windows 10上的anaconda中安装了
Tensorflow
,但是
在
导入
一些模块
时
遇到了一个错误: 如何解决这个错误?
浏览 1
提问于2018-03-25
得票数 0
1
回答
AttributeError
:模块“
tensorflow
.io”
没有
“实验性”
属性
python
、
python-3.x
、
tensorflow
、
tensorflow2.0
当我
在
kaggle笔记本上运行笔记本
时
,我试图从
tensorflow
调用一个函数来解码一个tiff映像,并在这一行中:它给了我一个错误: :11 load * img = tfio.experimental.image.decode_tiff(img,channels=1)
AttributeError
:模块“
tensorflow<
浏览 4
提问于2020-09-22
得票数 3
回答已采纳
1
回答
AttributeError
:
在
样式传输程序中,“”Model“”
对象
没有
属性
“”graph“”
tensorflow
运行样式转移算法
时
,我得到了错误图形:‘
AttributeError
’
对象
没有
属性
'graph‘。有人能帮我解决这个问题吗?错误消息:
在
style_transfer(content_image,style_image,content_layer_ids,style_layer_ids,weight_content,weight_style,weight_denoise,num_itera
浏览 0
提问于2018-09-28
得票数 0
6
回答
模块“”
tensorflow
“”
没有
属性
“”contrib“”
tensorflow
我正在尝试使用
Tensorflow
Object-Detection-API训练自己的自定义
对象
检测器 我使用"pip install
tensorflow
“
在
我的google计算引擎中安装了
tensorflow
当我尝试使用train.py
时
,我收到以下错误消息: 回溯(最近一次调用):文件"train.py",第49行,
在
from object中 _ detection.builders
导入
数据集 _ 生成器文件解码器<
浏览 163
提问于2019-04-26
得票数 49
回答已采纳
1
回答
Tensorflow
导入
错误
AttributeError
:“模块”
对象
没有
属性
“导出”
python
、
tensorflow
当我试图
导入
tensorflow
集线器
时
,我会看到下面的错误:“模块”
对象
没有
属性
“Exporter”。as np 24 import
tensorflow
as tf--->
浏览 0
提问于2018-04-25
得票数 1
回答已采纳
12
回答
AttributeError
:模块'
tensorflow
‘
没有
属性
'reset_default_graph’
python
、
tensorflow
、
pycharm
我已经安装了
tensorflow
版本r0.11。
在
我的文件名cartpole.py中,我
导入
了
tensorflow
并使用它:试图
在
PyCharm中运行我的项目,我得到了以下错误:tf.reset_default_graph()
AttributeError
: module '
tensorflow
&
浏览 6
提问于2016-11-24
得票数 62
回答已采纳
1
回答
树莓Pi错误运行实例的
Tensorflow
python
、
tensorflow
、
raspberry-pi3
我从"“中安装了
tensorflow
v1.1.0。现在我试着从
tensorflow
网站上的例子中运行一个代码。这就是我一直
在
犯的错误: 我将Debian Jessie与python 2.7.9结合使用。
浏览 0
提问于2018-04-03
得票数 0
1
回答
CVXPY和CPLEX -这个
属性
错误是关于什么的?
python-3.x
、
attributeerror
、
cplex
、
cvxpy
我试图解决单
元组
合问题(混合整数二次规划问题),使用CVXPY框架建模问题和CPLEX解决问题。当我运行我的代码
时
,我得到一个
AttributeError
:'Problem‘
对象
没有
属性
'_compute_once_is_mixed_integer’
AttributeError
:“问题”
对象
没有
属性
“_compute_once_is_mixed_integer”
浏览 5
提问于2020-04-18
得票数 0
回答已采纳
1
回答
Tensorflow
- CIFAR教程中的
导入
错误
tensorflow
、
importerror
最近,我
在
CIFAR教程中安装了
tensorflow
并获得python
导入
错误。sys.exit(main(sys.argv:1 + flags_passthrough)) 文件"
浏览 4
提问于2016-11-27
得票数 1
回答已采纳
1
回答
如何修复
元组
:‘
AttributeError
’
对象
没有
‘DqnAgent’
属性
创建
Tensorflow
的
元组
?
tensorflow2.0
但我收到以下错误
AttributeError
:'tuple‘
对象
在对可配置的'DqnAgent’()的调用中
没有
'rank‘
属性
以下是我的环境myEnv的代码 我可以创建一个
没有
任何错误的myEnv
浏览 49
提问于2021-02-27
得票数 2
回答已采纳
2
回答
AttributeError
:模块“
tensorflow
”
没有
属性
“Variable”"ERROR“
python
、
windows
、
tensorflow
、
anaconda
我使用张量流已经一天了,但是出现了一些问题,当我
导入
张量流
时
,会出现
AttributeError
:'module‘
对象
没有
属性
'variable’。我用的是Windows10,Python3.5.3,Anaconda-3 4.4.0import
tensorflow
as tf my_var = tf.Variable(tf.linspace
浏览 7
提问于2017-07-26
得票数 1
回答已采纳
2
回答
AttributeError
:'int‘
对象
没有
属性
'pop’
python-3.x
在
元组
中编写列表
时
,获取错误:fruits
浏览 5
提问于2022-05-02
得票数 0
1
回答
label_map_util.load_labelmap错误:模块'
tensorflow
‘
没有
属性
'gfile’
python
、
tensorflow
research\object_detection\utils\label_map_util.py in load_labelmap(path) 136 a StringIntLabelMapProto 137“ 我知道问题的严重性,其原因是(import
tensorflow
.compat.v1 as tf)
在
2.0.0中无法弥补。
在
我的自定义代码中,我使
浏览 2
提问于2020-01-12
得票数 0
1
回答
TensorFlow
1.5.0与DataLab raise一起运行:‘张量’
对象
在
尝试使用embedding_column
时
没有
属性
'length‘
python
、
tensorflow
、
google-cloud-datalab
尝试以一种方式使用embedding_column:结果出现错误消息: {文件"/usr/local/lib/python2.7/dist-packages/
tensorflow
/contrib/layers/python/layers/f
浏览 0
提问于2018-02-14
得票数 0
回答已采纳
4
回答
Tensorflow
compat模块问题?
python
、
tensorflow
在
Google的
tensorflow
udacity课程上浏览ipython笔记本
时
,会得到以下错误:
在
Ubuntu14.04上运行,想知道这是
tensorflow
早期的bug问题还是只是我的愚蠢。
浏览 12
提问于2016-02-07
得票数 3
1
回答
keras-伯特load_trained_model_from_checkpoint错误
tensorflow
、
keras
、
bert-language-model
load_trained_model_from_checkpoint( config_path、checkpoint_path、trainable=True、seq_len=SEQ_LEN、output_layer_num=4 )
AttributeError
:'tuple‘
对象
没有
属性
'layer’keras-bert=0.85.0
tensorflow
=1.15.2 事先非常感谢
浏览 5
提问于2022-02-03
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
必背Python单词:常用报错提示单词20个
python如何获取多个excel单元格的值
python基础简介
Python进阶——什么是描述符?
Python 面向切面编程与元类
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券