jupyter notebook 使用筆記

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進程可以在後臺繼續運行,不會被中斷,適用於模型的長時間訓練。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章