Was able to open this lab and put my code in to use k-means to compress an image, however, the first time I executed the code in the lab, which has 3 iterations by default to compute the centroids, the lab crashed and I’ve been unable to re-open the lab ever since.
Tried to evaluate the lab so I can complete the course and get my certificate, however it shows me this grader error, which has no correlation with my code.
Have tried multiple browsers, but the assignment does not open and causes all Coursera tabs to crash, Don’t really know how to proceed and looking for any help on this thread.
Your notebook memory size had reached 100 MBs, which was making it difficult to load and render on Coursera.
This meant that something was incredibly wrong with your code, which was causing the memory size to increase so much. I have deleted the notebook, and replaced it with a fresh copy of the assignment. Please re-attempt the assignment again, and make sure to follow the instructions of the exercises.
A common reason for this sort of issue is adding print() statements for debugging. This can cause the “output” cells to balloon in size - especially if these print() statements are inside a for-loop that runs over every example and epoch.