gpt4 book ai didi

jupyter-notebook - 即使页面关闭,也要运行 jupyter notebook

转载 作者:行者123 更新时间:2023-12-04 17:52:25 28 4
gpt4 key购买 nike

我喜欢笔记本。我非常喜欢它们,以至于我让它们中的许多同时运行,通常在不同的浏览器中,有时在不同的远程客户端上。我错过了一个功能:当我关闭与正在运行的笔记本对应的选项卡时,它会警告相应的运行将被停止。

我的问题:

How do I make a jupyter notebook resume it's run even if the page is closed ?



这样我就可以:
  • 在另一个浏览器中(可能在平板电脑等远程计算机上)重新打开该选项卡,
  • 需要时重新启动浏览器,
  • 关闭那些运行时间长的,以便以后检查。

  • 据我了解,客户端 - 服务器架构可以使这成为可能,但是多个并发运行可能存在问题......

    PS:我在 GitHub 上创建了一个问题

    最佳答案

    事实上,这在github问题中得到了回答:

    takluyver commented on 26 Apr 2017: Anything already running in the notebook will keep running, and the kernel it started for that will stay running - so it won't lose your variables. However, any output produced while the notebook isn't open in a browser tab is lost; there isn't an easy way to change this until we have the notebook server able to track the document state, which has been on the plan for ages.



    谢谢!

    关于jupyter-notebook - 即使页面关闭,也要运行 jupyter notebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43628544/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com