- 博客(2)
- 收藏
- 关注
原创 (已解决)RuntimeError: only batches of spatial targets supported (3D tensors) but got targets of size: :
即每个像素点的标签是一个标量。但从错误中可以看到,提供的目标是。,说明目标张量的每个像素点是一个 3 通道的向量,而不是单个标量。根据错误信息,这种情况是因为目标的大小和形状不符合。) 是一个 3D 张量,其形状应该是。
2025-01-16 13:16:27
828
原创 (已解决)ERROR: Could not find a version that satisfies the requirement pytorch-grad-cam
(已解决)ERROR: Could not find a version that satisfies the requirement pytorch-grad-cam
2025-01-14 16:25:18
606
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅