Art_Generation_with_Neural_Style_Transfer "Dead kernel"

Hello everyone :slight_smile: Hope you are doing well :crossed_fingers:

In last programming assignment of course4 named “Art_Generation_with_Neural_Style_Transfer”. Whenever I cell shown below I get a message saying “Dead kernel, restarting the kernel”. Could someone please help me with? Thanks alot :smiley:

image

There are a few common causes for this:

  • If your code contains an infinite loop, and the kernel timed-out.
  • If the server was too busy, and the kernel timed-out.
  • If you added some print() statements to the notebook for debugging, and the kernel could not handle delivering all that data to your browser before it timed-out.

In addition the assigned instance might’ve run out of resources - eg: memory.

1 Like