0

I'm training a pytorch-based neural network model on jupyter notebook.

After 2 hours' training, I run the next cell, and the tab directly crashed,as shown in the figure.

enter image description here And the terminal shows:MemoryError [I 16:32:46.267 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports WARNING:root:kernel b4d13532-a648-42bc-932e-cc5acf92abd0 restarted

Why and how can I solve it?

KatrinaKing
  • 43
  • 2
  • 6
  • You can visit [jupyter Notebook keeps crashing](https://stackoverflow.com/questions/50785665/kernel-keeps-dying-in-jupyter-notebook) – Shag Jan 16 '21 at 11:16
  • thanks! I have visited the link ,but my error is quite different from that , I met the error when I run one of the cell in my jupyter notebook,not when I start notebook.And I met memory error not kernel died – KatrinaKing Jan 17 '21 at 01:55

0 Answers0