上海网站开发服务商,自适应网站手机端,品牌网络推广,网站域名注册证明配置jupyter-pytorch深度学习环境
安装anaconda3新建环境#xff0c;命名为pytorch在虚拟环境里安装jupyter
activate pytorch
pip install jupyter安装可视化插件#xff0c;ipywidgets#xff0c;并且关联
pip install ipywidgets
jupyter nbextension enable --py wid…配置jupyter-pytorch深度学习环境
安装anaconda3新建环境命名为pytorch在虚拟环境里安装jupyter
activate pytorch
pip install jupyter安装可视化插件ipywidgets并且关联
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension配置jupyter里面的虚拟环境
activate pytorch
pip install ipykernel
python -m ipykernel install --name pytorch安装torch(cuda版本自己对应)
conda install pytorch torchvision torchaudio cudatoolkit10.1 -c pytorch在pytorch中使用tensorboard
pip install tensorboardX
pip install tensorflow #在pytorch环境中安装一个tensorflow,这是个坑别忘了装from tensorboardX import summaryWriter
writer summaryWriter(log_dir你的存储log的目录)
#这里在writer里增加需要查看的数据
writer.close()#打开终端
tensorboard --log_dir 你的存储log的目录