![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pytorch笔记
jackxu1018
这个作者很懒,什么都没留下…
展开
-
jupyter切换pytorch_gpu内核
疑问: 之前一直使用的tensorflow,使用jupyter切换python内核方法生成的内核时可以使用的 但是今天用同样的方法生成pytorch内核的时候,在jupyterlab里面却不能顺利的使用: import torch 以下是解决方法: 删除用之前方式添加的内核 (CMD)查看内核安装的位置jupyter kernelspec list (CMD)jupyter kernelspec remove 你的内核名称 安装nb_conda_kernels包,自动把虚拟环境下的python.原创 2021-01-31 00:59:13 · 1054 阅读 · 0 评论 -
Pycharm关联安装的conda环境
1.打开pycharm新建项目,如图所示 要点是选择现有的conda虚拟环境 2.查看当前项目的Interpreter如图所示原创 2021-01-30 14:56:31 · 776 阅读 · 0 评论 -
安装pytorch
1.添加清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/ana原创 2021-01-30 14:10:50 · 106 阅读 · 1 评论