先卸载:

查看有几个版本的torch (pip list)

  1. pip uninstall torch
  2. pip uninstall torchvision
  3. pip uninstall torchtext

pip和conda安装失败,尝试以下安装:

pip install -f https://download.pytorch.org/whl/cu110/torch_stable.html torch==1.7.0+cu110 torchvision==0.8.0

安装完成

Logo

免费领 200 小时云算力,进群参与显卡、AI PC 幸运抽奖

更多推荐