我想在 Jupyter 笔记本中查看图像。这是一个 9.9MB 的 .png 文件。
from IPython.display import Image
Image(filename='path_to_image/image.png')
我收到以下错误:
IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
有点令人惊讶,并且reported elsewhere .
这是预期的吗?有简单的解决方案吗?
(错误消息建议更改 --NotebookApp.iopub_data_rate_limit
中的限制。)
最佳答案
试试这个:
jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10
或者这个:
yourTerminal:prompt> jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10
关于jupyter-notebook - Jupyter 笔记本中的 IOPub 数据速率超出(查看图像时),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43288550/