美文网首页
pytorch环境搭建

pytorch环境搭建

作者: 咖喱鸡蛋 | 来源:发表于2022-04-11 13:45 被阅读0次

    测试各自方法,耗时一天,各自bug(windows下)。
    虚拟环境解决:
    1、添加清华数据源
    2、conda create -n pytorch python=3.9
    3、conda install pytorch torchvision torchaudio cudatoolkit=11.5 -c pytorch -c conda-forge


    image.png

    4、切换vscode工作环境


    image.png

    5、测试工作状态


    image.png

    添加清华源:
    C:\Users\gg.condarc
    add:
    channels:

    3、系统测试

    相关文章

      网友评论

          本文标题:pytorch环境搭建

          本文链接:https://www.haomeiwen.com/subject/ysvisrtx.html