改变Jupyter notebook的Tensorflow版本(以Anaconda虚拟环境方式为例)

有多个版本的Tensorflow,不同版本的Tensorflow通过Anaconda虚拟环境划分
切换到虚拟环境

查看所有可用的虚拟环境

conda env list

在终端中执行命令切换到虚拟环境中(tensorbase为虚拟环境名)

activate tensorbase

下载Jupyter

pip install jupyter

启动

jupyter notebook

就可以使用多个版本的Tensorflow
每次使用这个版本的Tensorflow切换到虚拟环境中
在这里插入图片描述
在这里插入图片描述

你可能感兴趣的:(深度学习,tensorflow,anaconda,java,python,cuda)