我目前正试图通过一个相当长的超参数网格搜索(4-5小时),我一直有问题与木星实验室(或还没有找到什么)在一个gcp笔记本实例。浏览器与笔记本的连接不断下降,而培训过程仍在继续。当它完成训练过程,没有地方写输出,因为浏览器连接到笔记本已经下降。
即使我的笔记本电脑被关闭/关机,我怎样才能保持连接正常,或者确保输出被写进笔记本呢?
发布于 2020-01-22 10:25:51
有许多问题可能影响到你的笔记本。可能是GCP问题,网络问题.因此,您需要提供更多的信息来诊断正在发生的事情。我建议你在GCP或木星的支持下开一张票,以便进行更彻底的调查,因为这可能是很难诊断的,而且他们将有更多的工具去做。此外,@Joaquim的建议目前看来是一个很好的解决办法。无论如何,我已经收集了几个疑难解答步骤,您可以按照这些步骤来确定这是否是一个反复出现的问题,也就是影响您的问题:
- Click on the instance name of in which your Notebook is running on the [AI Platform Notebooks page](https://cloud.google.com/ml-engine/docs/notebooks/create-new#open_a_notebook).
- Remote access it by clicking “SSH”
- Run this on the shell to confirm the existence of the overriding: `ls /home/*/.jupyter/jupyter_notebook_config.py`
- Run this command to confirm if the shutdown\_no\_activity\_timeout option is doing the overriding: `cat /home/*/.jupyter/jupyter_notebook_config.py | grep shutdown_no_activity_timeout`
- Switch the option to ‘0’ if it is set to a different value, and reset the Notebook instances on [this page](https://cloud.google.com/ml-engine/docs/notebooks/create-new#open_a_notebook) to apply the change.
https://stackoverflow.com/questions/59391254
复制相似问题