- 博客(1)
- 收藏
- 关注
原创 IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in
报错原因:对于0维张量,无法使用索引访问。将utils.py中的。
2023-11-22 10:42:19
217
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人