RuntimeError: invalid argument 4: Index tensor must have same size as output tensor apart from the specified dimension at /opt/conda/conda-bld/pytorch_1587428398394/work/aten/src/THC/generic/THCTensorScatterGather.cu:328
坑,找了一圈,发现自己的代码是环境问题
12-02
4648
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-26
8986
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-05
4736
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-15
4万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交