腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
AttributeError
:
模块
“”
tensorflow_docs
“”
没有
属性
“
plots
”“
python
、
machine-learning
、
keras
、
tensorflow2.0
、
tf.keras
当我运行以下代码时: plotter = tfdocs.
plots
.HistoryPlotter(metric = 'binary_crossentropy', smoothing_std=10)plt.ylim([0.5, 0.7]) 它给出了以下错误:
AttributeError
: module '
tensorflow_docs
' has no attribute'
plots
' 如何解决此问题?
浏览 10
提问于2020-04-23
得票数 1
1
回答
KeyError:绘制Keras模型训练进度时的'mae‘
python
、
tensorflow
、
keras
、
google-colaboratory
我遵循了与Kearas regression models教程中所示的完全相同的代码,但无法访问tfdocs.
plots
.HistoryPlotter()方法。) 3 plt.ylabel('MAE [MPG]') /usr/local/lib/python3.6/dist-packages/
tensorflow_docs
/
plots
/__init__.py in plot(s
浏览 75
提问于2019-12-12
得票数 3
6
回答
在Colab上导入导入
tensorflow_docs
错误
tensorflow
、
callback
、
google-colaboratory
、
tensorboard
一个多月来,我一直在使用colab进行深度学习,突然,import
tensorflow_docs
as tfdocs停止了工作。有人遇到过同样的问题吗?> !tensorflow_docs.modeling 错误: 5 import tensorflow_docs.modeling 6 import tensorflow_do
浏览 32
提问于2022-08-01
得票数 4
回答已采纳
3
回答
ModuleNotFoundError:在创建TensorFlow文档时
没有
名为“
tensorflow_docs
”的
模块
python
、
tensorflow
最近一次调用):文件"generate2.py",第36行,在tensorflow_docs.api_generator import doc_controls ModuleNotFoundError中:
没有
名为'
tensorflow_docs
‘的
模块
from tensorflow_docs.api_generator import doc_controls 我还
没有
找到一个包含
tensorflow_docs
的pip包。
浏览 0
提问于2019-04-05
得票数 11
1
回答
AttributeError
:
模块
没有
属性
python
、
django
、
django-models
、
django-rest-framework
当我尝试将auth_code中使用的函数名"random_string“(模型类中的变量)更改为任何其他名称时,它在命令行中显示错误:
AttributeError
: module 'users_data.models‘
没有
属性
'random_string’。(default=now, blank=False, editable=False) 我看过很多关于我的问题的帖子,但我
没有
发现任何有用的东西
浏览 34
提问于2021-05-04
得票数 1
1
回答
AttributeError
:
模块
‘.’
没有
属性
‘.’
python
、
python-import
File "path/to/files/biomes.py", line 41, in __init__
AttributeError
浏览 2
提问于2017-10-17
得票数 1
1
回答
AttributeError
:
模块
“
没有
属性
”
python
我有两个python文件,我想从其中每个导入到另一个,但是我得到了这个错误
AttributeError
: module 'b' has no attribute 'y'。我想从文件y中的b中访问变量a,但是当我在文件a中导入文件b时,我得到了这个
AttributeError
,我知道它是从循环导入中得到的。
浏览 6
提问于2022-05-16
得票数 0
1
回答
python
AttributeError
:
模块
‘
AttributeError
’
没有
属性
'comb‘
math
、
python-3.7
、
comb
>>> print(math.comb(6,49)) File "<stdin>", line 1, in <module>
AttributeError
浏览 5
提问于2021-04-16
得票数 2
1
回答
AttributeError
:
模块
‘
模块
’
没有
属性
‘芹菜’
docker
、
celery
、
django-celery
我想在我的Django应用程序中使用芹菜来执行应该在后台运行的任务。我学习了这些教程和project| ├── settings| ├──base.py| └──production.py| └──celery.py| └──tasks.pyfrom __future__ import absol
浏览 1
提问于2019-08-28
得票数 0
回答已采纳
1
回答
错误配置:
模块
‘
AttributeError
’
没有
属性
‘
AttributeError
’
cmd
、
jupyter-notebook
、
config
Successfully installed twint-2.1.21 它可以使用命令提示符(cmd.exe)命令从推特获取推文,但当我尝试在jupyter notebook中运行示例时,它给出了错误:
AttributeError
module>----> 2 c = twint.Config() 4
AttributeError
浏览 27
提问于2021-04-18
得票数 1
2
回答
来自mglearn的图表
python
、
pdf
、
plot
import numpy as npimport mglearn f.savefig("n_neighbors.pdf", bbox_inches='tight') 错误为
AttributeError
:'NoneType‘对象
没有
属性
'
浏览 5
提问于2019-11-07
得票数 0
回答已采纳
1
回答
AttributeError
‘
模块
’
没有
‘队列’
属性
“
python
threading as _threading queue = Queue.Queue()
AttributeError
浏览 0
提问于2014-01-03
得票数 3
回答已采纳
3
回答
AttributeError
:“
模块
”对象
没有
属性
python
、
opencv
、
ubuntu
、
stereo-3d
File "depth.py", line 9, in <module>
AttributeError
plt.imshow(disparity,'gray')我输入了Python行解释器,并编写了以下代码:help(cv2) 在createStereoBM中
没有
名为
浏览 17
提问于2014-02-11
得票数 9
回答已采纳
1
回答
使用木星笔记本在Python中安装和使用
tensorflow_docs
python
、
tensorflow
、
jupyter-notebook
pip安装-q git+错误:错误'C:\Users有一个类似的帖子,建议尝试一个虚拟环境,但我
没有
虚拟环境。不然我怎么解决这个问题? 非常感谢你的帮助
浏览 1
提问于2021-02-17
得票数 0
2
回答
AttributeError
:“
模块
”对象
没有
属性
“a”
python
、
attributeerror
我确信这很简单,但我只是还
没有
足够的背景来解决这个问题。这是我尝试过的,也是可行的: #!
浏览 1
提问于2013-08-26
得票数 0
回答已采纳
1
回答
VSCode
AttributeError
:
模块
没有
属性
python
、
visual-studio-code
我试过:crypto.encrypt() 我也尝试过修改我的launch.json文件,但是
没有
帮助
浏览 2
提问于2022-09-05
得票数 0
1
回答
AttributeError
:
模块
A
没有
属性
B
python
、
import
、
module
call last): y = what.yo.Yo
AttributeError
这个结构对我很重要,因为我在某个
模块
下面有很多类,需要能够访问所有类,最好不必对每个
模块
执行更多的粒度导入,这需要大量的代码。
浏览 3
提问于2021-12-01
得票数 0
回答已采纳
1
回答
命令:
模块
‘’
没有
属性
‘
AttributeError
’
python
、
django
、
django-models
、
django-rest-framework
、
django-views
在我的Django项目中,有一个用于加载csv数据的文件(
模块
)。project/apps/patients/management/commands/load_patient_data.py 在文件(
模块
)中: import psycopg2connEVENT UNIT']}','{row['EVENT TIME']}')""") conn.commit() 当我运行时: python mana
浏览 21
提问于2021-11-12
得票数 0
回答已采纳
1
回答
Python
AttributeError
:
模块
没有
属性
python-3.x
、
attributeerror
、
type-annotation
我有一个python
模块
文件,它有一堆类定义及其方法sample.py。上面是抛出
AttributeError
:
模块
'sample‘
没有
属性
'Sampler’。上述实现是否不正确?
浏览 0
提问于2019-02-26
得票数 1
1
回答
版本2.1.3 -
AttributeError
:“
模块
”对象
没有
属性
“用户”
python-2.7
、
psutil
import psutil psutil.pids()
AttributeError
:“
模块
”对象
没有
属性
“用户”
AttributeError
:“
模块
”对象
没有
属性
“boot_time” I不与psutil.cpu_
浏览 3
提问于2014-10-19
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
享学课堂-深入理解 Python 的属性查找
10 行代码,9 行报错,8 个警告…一个都逃不掉!
python渐进-类4
python入门系列:面向对象
Python基础教程
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券