深度学习(Deep learning)-其他
深度学习(Deep learning)
1. .item() 的用法
X[1,1]和X.item():
主要是显示精度的区别,在求loss,accuracy rate 的时候一般用item()而不是[1,1],X .item()的作用主要是把数据从 tensor中取出来
2.深度学习
Jupyterlab使用plotly图片不显示解决方法:
转载自:
https://blog.csdn.net/weixin_43945848/article/details/116983135
1 #首先需要安装nodejs12.0.0以上版本
2 conda install nodejs
3 #接下来安装渲染插件
4 jupyter labextension install jupyterlab-plotly@4.14.3
————————
1. . Usage of item()
X [1,1] and x.item ():
The main difference is the display accuracy. When calculating loss and accuracy rate, item () is generally used instead of [1,1], X The main function of item () is to get data from the tensor
2. Deep learning
Jupyterlab使用plotly图片不显示解决方法:
Reprinted from:
https://blog.csdn.net/weixin_43945848/article/details/116983135
1 #首先需要安装nodejs12.0.0以上版本
2 conda install nodejs
3 #接下来安装渲染插件
4 jupyter labextension install jupyterlab-plotly@4.14.3