W2_A1_Ex-5_ValidateError: test_failed_on _1 cell

Hi,

I am working on the first assignement of week 2 and I got 88/100. When I click on the Show Grader Output I get:

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W2A1/Python_Basics_with_Numpy.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.

Is this supposed to be like this? Why cannot I see the part of the code that is wrong?

Thank you very much for any suggestions.

Danny

For those who might find this thread in the future, this time, the problem was from Exercise 5. I recommend following the instruction of the exercise:

  • Please don’t hardcode the dimensions of image as a constant. Instead look up the quantities you need with image.shape[0], etc.

The importance of not hardcoding any dimension can be seen from the following DocString because there is no hardcoded number in the shape of the image:

    """
    Argument:
    image -- a numpy array of shape (length, height, depth)
    
    Returns:
    v -- a vector of shape (length*height*depth, 1)
    """

Cheers,
Raymond