Hi,
More than one week ago the same wrote code passed from success to error.
Can someone help me?
Output:
Z’s mean =
0.5511276474566768
Z[0,2,1] =
[-2.17796037 8.07171329 -0.5772704 3.36286738 4.48113645 -2.89198428
10.99288867 3.03171932]
cache_conv[0][1][2][3] =
[-1.1191154 1.9560789 -0.3264995 -1.34267579]
Error:
AssertionError: Wrong Z mean. Expected: -0.5384027772160062 got: -0.22100395509655646
I am facing a similar error. Is your’s resolved now?
Hi,
Yes it is resolved.
I couldn’t access may code, but from what I remembered it was related to the initialization. Used “np.random.randn” normal random initialization instead of a zero “np.zero”. Sorry, it’s all I can remember without the code.
I used zeros, my problem was thinking loop over n_H_prev instead of n_H
Hello,
I have a problem figuring out what I did wrong with Z
I keep getting this (was stuck on it for a while)
Z’s mean =
0.01656131976770792
Z[0,2,1] =
[0. 0. 0. 0. 0. 0. 0. 0.]
cache_conv[0][1][2][3] =
[-1.1191154 1.9560789 -0.3264995 -1.34267579]
…
Assertion Error: "Wrong Z mean. Expected: -0.5384027772160062 got: 0.0
There were issues similar to this, and I tried to implement some of the solutions suggested. Unfortunately, it didn’t solve my main issue.
Can somebody help? I w…