DLS - C4 - W2 - Assignment 1 - Dead Kernel / Out of memory

Hi there,
I defined the ResNet50 function as requested (all tests passed), but everytime I run the cell with code:
model = ResNet50(input_shape = (64, 64, 3), classes = 6)
(This is not my code, it’s already there in the notebook and public)

I have one of these two outcomes:

  • Kernel is dead and will be restarted
  • ResourceExhaustedError: OOM when allocating tensor…

Is there any workaround?
If I submit I get:

  • 0/100: Learner Error: Grader ran out of memory

Thanks for the support!

Hey @Nicola_Barbieri,
Welcome to the community. This is happening a lot lately with many other users, perhaps due to the fact that many users have logged in to the kernel simultaneously. The best way out of this issue is to run your kernel during off-peak hours. You can look at this related thread for further reference. I hope this helps.


Hi Elemento,

Thanks for the reply.
I had tried to reboot, but with no luck.
I will try at different hours to see if I am able to catch a sweet spot.


It just worked! Thanks again!

1 Like