关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
Z_Kyrin
2021-12-31 12:21
采纳率: 50%
浏览 133
首页
有问必答
已结题
TypeError: list indices must be integers or slices, not list
有问必答
pytorch
计算机视觉
list
问题遇到的现象和发生背景
问题相关代码,请勿粘贴截图
运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果
写回答
好问题
提建议
追加酬金
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
2
条回答
默认
最新
相关推荐
更多相似问题
出错啦,怎么解决呀 :
TypeError
:
list
indices
must
be
integers
or
slices
,
not
tuple
list
python
2021-09-01 12:27
回答 2
已采纳
y_test y_sc
or
e是怎么样的数据结构 shape是怎样的 是不是少了一层[] 应该y_test[[
:
, i]], y_sc
or
e[[
:
, i]]
TypeError
:
list
indices
must
be
integers
or
slices
,
not
list
list
pytorch
有问必答
计算机视觉
2021-12-31 12:21
回答 2
已采纳
la
be
l_index has_skeleton 这两个地方用索引,不是用标签
请问python调取数组某一位时出现
list
indices
must
be
integers
or
slices
,
not
str如何处理?
python
2019-11-03 22:09
回答 2
已采纳
list
indices
must
be
integers
or
slices
说得很清楚,下表索引必须是整数或者切片。 而你customer[i][j]是字符串 ``` wei[int(
Python
Be
autifulSoup [解决方法]
TypeError
:
list
indices
must
be
integers
or
slices
,
not
str
2021-01-20 06:27
TypeError
:
list
indices
must
be
integers
or
slices
,
not
str 这个错误,这里就分析一下为什么会报错以及如何解决。 这个错误的意思是’类型错误
:
list
的索引必须是’
integers
’或者’
slices
’不能是’str’ 我...
TypeError
:
list
indices
must
be
integers
or
slices
,
not
tuple
2021-11-30 16:50
代辰的博客
一直以为列表的操作很简单,直到自己读取列表某一行和某一列时才发现问题,可以发现在python中,普通的列表
list
和numpy中的数组array是不一样的,最大的不同是:一个列表中可以存放不同类型的数据,包括int、float和...
没有解决我的问题,
去提问