天天看点

pytorch 7月13日学习

错误1

pytorch 7月13日学习

解决

NN Tutorial: Argument 0 is not a Variable -PyTorch Forums https://discuss.pytorch.org/t/nn-tutorial-argument-0-is-not-a-variable/4606/12

更新torch的版本

错误2

pytorch 7月13日学习

原因

不能将cuda张量转换为numpy