Week 3_Assignment 2_ "Image Segmentation with U-Net"

Hi, I was completing the week 3_ Assignment 2 of course 4 (CNN) for deep learning specialization. While Training the model, my kernal is dying again and again? how can I avoid this?

Thanks

There are a couple of potential causes for this:

  1. If you’ve added any print statements that generate a lot of extra output, that can cause the memory image of your notebook to get very large which slows things down and causes you to hit resource limits.
  2. It may be that you are just unlucky and the VM that your notebook is assigned to is very heavily loaded at this point in time. You can try closing the notebook and reopening it, but that doesn’t always help. You could even try logging out of Coursera and back in again. If even that doesn’t help, then it could mean that the servers in general are having problems and it’s better to just take a break and do something else and come back in an hour or two.