PyTorch安装及自测


官网下载PyTorch
https://pytorch.org/get-started/locally/

验证PyTorch是否安装成功
https://pytorch.org/get-started/locally/#windows-verification

查看PyTorch的版本
import torch
print(torch.__version__)
  • Previous Version 先前版本
    https://pytorch.org/get-started/previous-versions/#v120

  • 在RTX3090上安装PyTorch
    https://medium.com/@dun.chwong/the-simple-guide-deep-learning-with-rtx-3090-cuda-cudnn-tensorflow-keras-pytorch-e88a2a8249bc

  • PyTorch文档
    https://pytorch.org/docs/stable/index.html