Jupyter notebook 有没有办法在Google Colab上使用变量检查器?
这是我第一次在Google Colab上工作。 是否可以在Google Collab中使用变量检查器? 如果是,怎么做Jupyter notebook 有没有办法在Google Colab上使用变量检查器?,jupyter-notebook,google-colaboratory,Jupyter Notebook,Google Colaboratory,这是我第一次在Google Colab上工作。 是否可以在Google Collab中使用变量检查器? 如果是,怎么做 谢谢。是的。我就是这样做的 将此代码放入一个代码单元并运行它 from google.colab import output #I don't know why nbextensions don't work with python3.6 with output.temporary(): !pip install --upgrade git+https://github.
谢谢。是的。我就是这样做的 将此代码放入一个代码单元并运行它
from google.colab import output
#I don't know why nbextensions don't work with python3.6
with output.temporary():
!pip install --upgrade git+https://github.com/Kreijstal/colab_inspector.git
!python2.7 -m pip install --upgrade git+https://github.com/blois/colab_inspector.git #yes, really.
!jupyter nbextension install --py inspector
import inspector
# open a scratch cell (Ctrl+Alt+N)
# run there
# inspector.watch_globals()
打开一个临时单元格(Ctrl+Alt+N)
在上面,快跑
inspector.watch_globals()
当你在左边编码时,你会看到变量在右边自动更新。你甚至可以扩展字典和其他东西
参考资料:
Google Colab,可变资源管理器检查器可视化是。我就是这样做的 将此代码放入一个代码单元并运行它
from google.colab import output
#I don't know why nbextensions don't work with python3.6
with output.temporary():
!pip install --upgrade git+https://github.com/Kreijstal/colab_inspector.git
!python2.7 -m pip install --upgrade git+https://github.com/blois/colab_inspector.git #yes, really.
!jupyter nbextension install --py inspector
import inspector
# open a scratch cell (Ctrl+Alt+N)
# run there
# inspector.watch_globals()
打开一个临时单元格(Ctrl+Alt+N)
在上面,快跑
inspector.watch_globals()
当你在左边编码时,你会看到变量在右边自动更新。你甚至可以扩展字典和其他东西
参考资料:
Google Colab,variable explorer inspector visualize有一种方法,但它消失了你可以尝试自己制作,看有一种方法,但它消失了你可以尝试自己制作,谢谢!非常感谢!