腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
名称
:
类型
对象
'
TabularDataset
‘
没有
特性
’
AttributeError
‘
True,include_lengths=True,batch_first=True) label_field = ('label',label_field),('title',text_field)
TabularDataset
训练,有效,测试=
TabularDataset
.splits(训练=‘Train.xlsx’,验证=‘valid.xlsx’,测试=‘test.xlsx’,格式=‘xlsx’,fields=fields
浏览 22
提问于2021-04-08
得票数 0
1
回答
AttributeError
:模块'torchtext.data‘
没有
特性
'
TabularDataset
’
、
、
、
我在考虑用但我收到一条错误消息。
AttributeError
:module 'torchtext.data' has no attribute '
TabularDataset
'
浏览 22
提问于2021-04-03
得票数 3
1
回答
AttributeError
:
类型
对象
'platform‘
没有
特性
'y’
、
] < platform.y: self.y += speedY但是,我得到一个错误:
AttributeError
浏览 4
提问于2019-08-03
得票数 0
1
回答
AttributeError
:
类型
对象
'mktime‘
没有
特性
’mktime‘
、
、
datetime.utcfromtimestamp (epoch)调用者这给了我-
AttributeError
:
类型
对象
'datetime.time‘
没有
'mktime’属性import time但是我得到了- TypeError:'mod
浏览 2
提问于2016-11-05
得票数 3
1
回答
拆分:
类型
对象
“”YourClassHere“”
没有
特性
“”
AttributeError
“
、
、
这在django-rq之外同步工作得很好,但是在django-rq中它失败了,并显示以下错误:
AttributeError
: type object 'TemplateProcesser' has', 1)在metaperture的答案之后进行回溯
浏览 1
提问于2014-05-29
得票数 2
1
回答
AttributeError
:
类型
对象
“”Image“”
没有
特性
“”open“”
、
Users\TAO\Desktop\New\b.py", line 14, in imgs
AttributeError
浏览 64
提问于2018-12-15
得票数 3
回答已采纳
4
回答
AttributeError
:
类型
对象
“socket”
没有
特性
“socket”
、
socket import * 我正面临着这个错误:
AttributeError
浏览 151
提问于2017-01-20
得票数 2
1
回答
AttributeError
:
类型
对象
'DataFrame‘
没有
特性
'pd’
、
、
pythonstuff\stockbot.py", line 14, in Key_Stats
AttributeError
浏览 28
提问于2020-05-30
得票数 0
回答已采纳
1
回答
AttributeError
:
类型
对象
“”Project“”
没有
特性
“”_meta“”
、
、
AttributeError
at /overview/new/
AttributeError
: type object 'Project' has no attribute '_meta' [05/Mar/2019 14:00:15] "GET /overview
浏览 27
提问于2019-03-05
得票数 4
回答已采纳
1
回答
AttributeError
:
类型
对象
'x‘
没有
特性
'y’
我知道这是一个反复出现的问题,但我真的不明白为什么我会得到这个错误。所以我有一个类World,它有一个类方法newDay(),它将_day递增1,但这样做会得到这个属性错误。我尝试过以不同的方式递增它,但我一直得到一个错误。以下是部分代码: SIZE = Size_world self.bob = list() self.available_energy = 0 sel
浏览 9
提问于2019-10-29
得票数 0
1
回答
AttributeError
:
类型
对象
'Post‘
没有
特性
'query’
、
、
、
然而,当我到达创建帖子的阶段时,我遇到了"
AttributeError
:
类型
对象
‘帖子’
没有
属性‘查询’“,但我不明白为什么科里在视频中
没有
遇到这个问题……我对此真的很陌生,我不知道哪里出了问题,任何建议都会非常感谢
浏览 26
提问于2019-04-16
得票数 -1
回答已采纳
2
回答
AttributeError
:
类型
对象
“”ElementTree“”
没有
特性
“”tostring“”
、
、
、
我有这个问题,
AttributeError
: type object 'ElementTree' has no attribute 'tostring',我不知道哪里出了问题,我导入字符串,它不工作。尝试按照另一个教程进行操作,但是什么都
没有
。 是否有其他方法可以将ElementTree
对象
转换为XML字符串?
浏览 1
提问于2013-09-20
得票数 11
1
回答
拆分:
类型
对象
'NoDbTestRunner‘
没有
特性
’
AttributeError
‘
、
、
AttributeError
: type object 'NoDbTestRunner' has no attribute 'split'from django.test.runner
浏览 4
提问于2018-08-02
得票数 0
2
回答
AttributeError
:
类型
对象
'BMW‘
没有
特性
' type’
、
、
class car: self.model = model def __init__(self,type,model,year): self.type = type def __init__(self,type1,model,year): c
浏览 24
提问于2020-11-03
得票数 0
1
回答
无法访问迭代器中的批处理项-火炬文本属性错误:“字段”
对象
没有
属性“vocab”
、
、
我无法从火炬文本中的Iterator
对象
访问批处理项。以下是错误#Access to Drive输出: torchtext.legacy.data.field.Field字段
对象
没有
属性“vocab” 访问'voca
浏览 3
提问于2021-09-16
得票数 1
1
回答
AttributeError
:
类型
对象
'ChatConsumer‘
没有
特性
'as_asgi()
、
from django.urls import re_pathwebsocket_urlpatterns = [ re_path(r'ws/chat/(?P<room_name>\w+)/$',consumers.ChatConsumer.as_asgi()),] 获取as_asgi()的错误
浏览 287
提问于2020-11-04
得票数 2
1
回答
AttributeError
: str
对象
没有
特性
、
fuckthis) num.displayRoom()
AttributeError
如果我用ID2或ID3代替self.displayAll(letsago),它可以完美地工作,但这是
没有
意义的,因为玩家无法控制他想要去的地方,所以我猜试图将ID与字典中的数字联系起来是有问题的,但我不知道该做什么以及如何修复这个问题
浏览 4
提问于2014-05-28
得票数 18
18
回答
模块:
AttributeError
对象
没有
特性
、
hello" print hello()b.py print "hi"
AttributeError
浏览 9
提问于2009-08-09
得票数 230
回答已采纳
2
回答
AttributeError
:“NoneType”
对象
没有
特性
、
、
call last): a.b().name
AttributeError
浏览 0
提问于2016-12-09
得票数 3
回答已采纳
1
回答
模块:
AttributeError
对象
没有
特性
、
我看过这里关于这个话题的其他帖子,也
没有
找到明确的答案,尽管我相信这是很简单的事情。import matplotlib...我从'xyz‘的一个实例调用了'function_A’,当我这样做时,我得到了错误消息:如有任何帮助,我们
浏览 1
提问于2013-04-20
得票数 14
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
获取对象属性类型、属性名称、属性值的研究:反射和JEXL解析引擎
Chrome 66 新特性:CSS 类型对象模型,异步剪贴板 API,AudioWorklet,等
Python中的AttributeError:属性错误处理
Python基础教程
Python对象属性的那些事
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券