#IndexError: Target 1 is out of bounds. IndexError: Dimension out of range (expected to be in range

港控/mmm° 2023-07-14 10:35 78阅读 0赞

1:IndexError: Target 1 is out of bounds. 、

2:IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)

解决方法:输入损失函数的 out 要模型输出的value, label 输入index

20200314111831340.png

发表评论

表情:
评论列表 (有 0 条评论,78人围观)

还没有评论,来说两句吧...

相关阅读