Jupyter notebook如何加载torch环境
默认你已经安装了anaconda 和 pytorch 环境。
- 必须要以管理员身份打开 Anaconda prompt终端,

- 进入pytorch环境中:
python
conda activate pytorch_39

-
安装必要插件:
(1)conda install nb_conda
(2)conda install ipykernel
-
在Anaconda prompt 中输入下面指令进行启动:
bash
jupyter notebook
- 在新的Jupyter Notebook的文件中选择Pytorch的内核。
