Kernel Restarting

Hello, I have a problem when trying to solve the assignment of week 2 where the following page is continually appearing.

. Any tips would be appreciated!

Hi @Jawaher_Alghamdi,

You were checking for current batch size against batch size, when you should have been checking for the length of the current batch size.

You can take a look at your notebook to understand better.

Cheers,
Mubsi

Solved @Mubsi thank you so much!