当前位置:网站首页>Jupiter notebook operation

Jupiter notebook operation

2022-06-24 14:07:00 Ape code_ xiao

View the current jupyter Version in environment :

import sys
sys.version

Set up jupyter Open position :

jupyter notebook D:\Python\pytorchLearn\jupyter

see torch Is it available :

import torch
print(torch.cuda.is_available())
print(torch.__version__)

! And % The difference between
! Open a new progress, Terminate immediately after execution ;provided by the Jupyter
% Will continue ;provided by the IPython kernel

stay Jupyter start-up Tensorboard:

pip install jupyter-tensorboard
%load_ext tensorboard
%tensorboard --logdir data/autograph/
原网站

版权声明
本文为[Ape code_ xiao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241147107331.html