我在 sagemaker 中运行 jupyter notebook 时出现错误:
OPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)
我尝试了几种解决方案(例如 solution1 、 solution2 ),但都没有用。
有人能知道如何解决这个问题吗?
最佳答案
您可以在 Sagemaker 终端的 ./.jupyter/jupyter_notebook_config.py
中取消注释并编辑此行 c.NotebookApp.iopub_data_rate_limit = 1000000
。
我使用 vim 编辑器来做到这一点。
关于python-3.x - 如何在 sagemaker 中设置 NotebookApp.iopub_data_rate_limit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60092509/