jupyter notebook 使用笔记

    技术2022-07-15  56

    文章目录

    jupyter使用笔记一、jupyter 管理 kernel:二、jupyter后台运行:

    jupyter使用笔记

    一、jupyter 管理 kernel:

    参考我的另一篇博客: https://blog.csdn.net/pentiumCM/article/details/107065832

    二、jupyter后台运行:

    在shell中输入如下的命令即可使jupyter后台运行:

    nohup jupyter notebook --allow-root > error.log &

    重新打开shell,输入ps -aux就可以看到后台启动的 jupyter kill就可以杀掉这个后台:kill -9 pid 使用 jupyter 后台运行的好处:当关掉当前的shell窗口,jupyter进程可以在后台继续运行,不会被中断,适用于模型的长时间训练。

    Processed: 0.013, SQL: 12