C2-W1 Gradient_Checking

I’m getting the error Wrong value. It is not one of the expected values even I fixed the backward_propagation_n values dW2 and db1

this is the error


> There is a mistake in the backward propagation! difference = 0.9999999614778898

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-32-c57ee5e9e05a> in <module>
      6 expected_values = [0.2850931567761623, 1.1890913024229996e-07]
      7 assert not(type(difference) == np.ndarray), "You are not using np.linalg.norm for numerator or denominator"
----> 8 assert np.any(np.isclose(difference, expected_values)), "Wrong value. It is not one of the expected values"

AssertionError: Wrong value. It is not one of the expected values

I followed the steps and then i change the dW2 and db1 values in backward_propagation_n then re-run the cell

dZ3 = A3 - Y
    dW3 = 1./m * np.dot(dZ3, A2.T)
    db3 = 1./m * np.sum(dZ3, axis=1, keepdims = True)
    
    dA2 = np.dot(W3.T, dZ3)
    dZ2 = np.multiply(dA2, np.int64(A2 > 0))

>  dW2 = 1./m * np.dot(dZ2, A1.T)

    db2 = 1./m * np.sum(dZ2, axis=1, keepdims = True)
    
    dA1 = np.dot(W2.T, dZ2)
    dZ1 = np.multiply(dA1, np.int64(A1 > 0))
    dW1 = 1./m * np.dot(dZ1, X.T)
> db1 = 1./m * np.sum(dZ1, axis=1, keepdims = True)

i got 60/100

nbgrader-part
Filename: nbgrader-part
60/100Score: 60 of 100
Hide grader output
Grader output
[ValidateApp | INFO] Validating '/home/jovyan/work/submitted/courseraLearner/W1A3/Gradient_Checking.ipynb'
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 1 cell(s)! These tests could be hidden. Please check your submission.
==========================================================================================
The following cell failed:

    X, Y, parameters = gradient_check_n_test_case()
    
    cost, cache = forward_propagation_n(X, Y, parameters)
    gradients = backward_propagation_n(X, Y, cache)
    difference = gradient_check_n(parameters, gradients, X, Y, 1e-7, True)
    expected_values = [0.2850931567761623, 1.1890913024229996e-07]
    assert not(type(difference) == np.ndarray), "You are not using np.linalg.norm for n...
    assert np.any(np.isclose(difference, expected_values)), "Wrong value. It is not one...

The error was:

    ---------------------------------------------------------------------------
    AssertionError                            Traceback (most recent call last)
    <ipython-input-11-c57ee5e9e05a> in <module>
          6 expected_values = [0.2850931567761623, 1.1890913024229996e-07]
          7 assert not(type(difference) == np.ndarray), "You are not using np.linalg.no...
    ----> 8 assert np.any(np.isclose(difference, expected_values)), "Wrong value. It is...
    
    AssertionError: Wrong value. It is not one of the expected values

I got the same problem. Anyone can suggest?