实验室Ubuntu服务器cuda是11.1版本的,个人办公环境是shr,去官网按命令安装皆可。
https://pytorch.org/get-started/previous-versions/

Windows安装
自己电脑是Windows

新建一个Anaconda虚拟环境,激活后在里面下载对应的pytorch即可。

cuda的安装,详见Tensorflow2.0中CUDA和CuDNN安装
验证


写代码是热爱,写到世界充满爱
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true