Jupyter的下载与安装

1.下载:

在anaconda的指定环境中

复制代码
conda install nb_conda_kernels

2.打开

在anaconda指定环境中使用命令:

复制代码
jupyter notebook

3.输入指令后,会显示如下,根据显示地址打开

  1. 在右边的new按钮处,选择相应环境,我的虚拟环境是study,所以选择conda env:study

点击后会自动跳转页面

3.运行测试

我输入了

复制代码
import torch

使用 shift+enter,运行代码,并显示下一行

运行成功后,In[ ]中会有数字

复制代码
torch.cuda.is_available()

打印

相关推荐
ZhengEnCi8 小时前
05-自注意力机制详解 🧠
人工智能·pytorch·深度学习
xier_ran16 小时前
【BUG问题】5060Ti显卡Windows配置Anaconda中的CUDA及Pytorch,sm_120问题
人工智能·pytorch·windows
郝学胜-神的一滴18 小时前
深度学习损失函数:从原理到实战之 Smooth L1 Loss
人工智能·pytorch·python·深度学习·机器学习·数据挖掘
MATLAB代码顾问1 天前
Transformer时序预测:PatchTST原理与PyTorch实现
pytorch·深度学习·transformer
EnCi Zheng2 天前
04-缩放点积注意力代码实现 [特殊字符]
人工智能·pytorch·python
傲笑风2 天前
jupyter转PDF教程
python·jupyter
β添砖java2 天前
深度学习(17)卷积层里的多输入多输出通道
人工智能·pytorch·深度学习
江南十四行3 天前
CNN进阶:Batch Normalization与Layer Normalization对比 + 网络结构设计与PyTorch实现
pytorch·cnn·batch
一晌小贪欢3 天前
第1节:数据分析环境配置——Jupyter Notebook全攻略
jupyter·数据挖掘·数据分析·可视化·数据可视化
早日退休!!!3 天前
PyTorch适配NPU
人工智能·pytorch·python